New sysconfig option which skips the execution of the upgrade steps at boot time.

This commit is contained in:
Jeffrey Townsend
2018-04-24 17:20:49 +00:00
parent 50878146fd
commit a4492c87d6
2 changed files with 10 additions and 1 deletions

View File

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

View File

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