mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
New sysconfig option which skips the execution of the upgrade steps at boot time.
This commit is contained in:
@@ -1 +1,6 @@
|
||||
if policy=$(/usr/bin/onl-sysconfig upgrade.onie.bootd); then
|
||||
if [ "$policy" = "disabled" ]; then
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
/sbin/onl-upgrade-onie
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
if policy=$(/usr/bin/onl-sysconfig upgrade.firmware.bootd); then
|
||||
if [ "$policy" = "disabled" ]; then
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
/sbin/onl-upgrade-firmware
|
||||
|
||||
|
||||
Reference in New Issue
Block a user