mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Add option for local script execution during autoboot.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user