pass pkg_delete v's, add missing fw_update

This commit is contained in:
Aaron Bieber 2019-09-24 06:16:07 -06:00
parent cff11a11c1
commit 41ea605936
Signed by: qbit
GPG Key ID: 279160AB1BE1236B

View File

@ -194,5 +194,7 @@ fi
if [ $MAINTENANCE == 1 ]; then
msg 0 "Cleaning up unused packages"
_ssh ${RUN_USER}@${SERVER} "/usr/sbin/pkg_delete -a"
_ssh ${RUN_USER}@${SERVER} "/usr/sbin/pkg_delete $V -a"
msg 0 "Installing firmware updates"
_ssh ${RUN_USER}@${SERVER} "/usr/sbin/fw_update $V -a"
fi