bugfix: sysupgrade no longer supports -d option

This commit is contained in:
Joe AE6XE 2018-05-18 17:41:36 -07:00
parent 9fd3f30934
commit d66a7e8842
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ then
fi fi
/sbin/sysupgrade -d 7 -f /tmp/arednsysupgradebackup.tgz -q "$1" 2>&1 sleep 7
/sbin/sysupgrade -f /tmp/arednsysupgradebackup.tgz -q "$1" 2>&1
rc=$?; if [ $rc != 0 ]; then /sbin/reboot; fi rc=$?; if [ $rc != 0 ]; then /sbin/reboot; fi