Clean up FS resize and handling a mount failure.
This commit is contained in:
parent
932a5a7722
commit
7089202f86
3 changed files with 5 additions and 3 deletions
|
@ -48,4 +48,4 @@ if [ -e /storage/.please_resize_me ] ; then
|
|||
StartProgress countdown "Rebooting in 5s... " 5 "NOW"
|
||||
fi
|
||||
fi
|
||||
reboot -f &>/dev/null
|
||||
reboot &>/dev/null
|
||||
|
|
|
@ -123,7 +123,9 @@ mount_common() {
|
|||
usleep 1000000
|
||||
done
|
||||
[ "$ERR_ENV" -eq "0" ] && return 0
|
||||
error "mount_common" "Could not mount $1"
|
||||
echo "Unable to find $1, powering off and on should correct it." >/dev/console
|
||||
StartProgress countdown "Power off in 3s... " 3 "NOW"
|
||||
poweroff
|
||||
}
|
||||
|
||||
get_iscsistart_options() {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
GRAPHIC_DRIVERS=""
|
||||
|
||||
# kernel serial console
|
||||
EXTRA_CMDLINE="quiet rootwait video=DSI-1:1152x1920p60 fbcon=rotate:3 ssh consoleblank=0 systemd.show_status=0 loglevel=0 panic=20"
|
||||
EXTRA_CMDLINE="quiet video=DSI-1:1152x1920p60 fbcon=rotate:3 ssh consoleblank=0 systemd.show_status=0 loglevel=0 panic=20"
|
||||
|
||||
# additional packages to install
|
||||
#ADDITIONAL_PACKAGES=""
|
||||
|
|
Loading…
Reference in a new issue