Clean up FS resize and handling a mount failure.

This commit is contained in:
fewtarius 2022-03-05 15:25:50 -05:00
parent 932a5a7722
commit 7089202f86
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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() {

View file

@ -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=""