Skip to content

Commit

Permalink
Warn users if the device's root file system is not located in RAM (ro…
Browse files Browse the repository at this point in the history
…otfs).
  • Loading branch information
arbv committed Oct 2, 2020
1 parent d264e44 commit 3ead9e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ if ! [ -x "${ENTWARE_INSTALLATION_PATH}/entware/bin/opkg" ]; then
fi
mount -o remount,ro /
die_on_error "Cannot remount \"\\\" readonly!"
else
ui_print "Your device appears to have a real-partition as the root file system. Hopefully, you have created the required links beforehand (see the module's documentation for details)."
fi
# check if /bin/sh available
if ! [ -x /bin/sh ]; then
Expand Down

0 comments on commit 3ead9e7

Please sign in to comment.