Skip to content

Commit

Permalink
optimize somethings
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Aug 8, 2023
1 parent 49a00bf commit ea96892
Show file tree
Hide file tree
Showing 5 changed files with 562 additions and 533 deletions.
2 changes: 2 additions & 0 deletions files/board/arpl/overlayfs/opt/arpl/boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ TITLE="BOOTING:"
[ "${BUS}" = "usb" ] && TITLE+=" [USB flashdisk]" || TITLE+=" [SATA DoM]"
printf "\033[1;33m%*s\033[0m\n" $(((${#TITLE} + ${COLUMNS}) / 2)) "${TITLE}"

[ -f "${CACHE_PATH}/logo.png" ] && echo | fbv -acu "${CACHE_PATH}/logo.png" >/dev/null

# Check if DSM zImage changed, patch it if necessary
ZIMAGE_HASH="$(readConfigKey "zimage-hash" "${USER_CONFIG_FILE}")"
if [ "$(sha256sum "${ORI_ZIMAGE_FILE}" | awk '{print$1}')" != "${ZIMAGE_HASH}" ]; then
Expand Down
Loading

0 comments on commit ea96892

Please sign in to comment.