Add option for local script execution during autoboot.

This commit is contained in:
Jeffrey Townsend
2018-04-02 17:41:02 +00:00
parent bc949a5afb
commit 41bf6970e5

View File

@@ -21,6 +21,9 @@ if [ -f /etc/onl/abort ]; then
exit 1
fi
if [ -f /mnt/onl/boot/autoboot ]; then
. /mnt/onl/boot/autoboot
fi
#
# The maximum number of times we will retry autobooting before
@@ -118,4 +121,3 @@ else
msg_error "BOOTMODE $BOOTMODE is not implemented. Autobooting cannot continue."
exit 1
fi