From 41ea605936548350cfbdcad272f7d28ae7aafc84 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 24 Sep 2019 06:16:07 -0600 Subject: [PATCH] pass pkg_delete v's, add missing fw_update --- boxctl.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boxctl.sh b/boxctl.sh index 3ea5f7b..c73f30e 100755 --- a/boxctl.sh +++ b/boxctl.sh @@ -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