summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-18 01:40:17 +0000
committerColin Smith <colin@pfsense.org>2005-04-18 01:40:17 +0000
commit89a5f4451fb58791bc46c7c27c043231c7ff3477 (patch)
tree431f27ecb548ceca72eca968ce66c2f7b1f55bcf /etc/rc.firmware
parent5f69494b1815efcf094dc749009fd3cebd71ae2f (diff)
downloadpfsense-89a5f4451fb58791bc46c7c27c043231c7ff3477.zip
pfsense-89a5f4451fb58791bc46c7c27c043231c7ff3477.tar.gz
Require an argument to be passed to the binary update function rather than defaulting to /tmp/latest_* - we're no longer using a single file for updates.
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index f9a6be2..2b96521 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -128,13 +128,13 @@ pfSenseupgrade)
echo "Done - rebooting system..." | logger -p daemon.info -i -t Upgrade
/sbin/shutdown -r now
;;
-pfSense)
- binary_update /tmp/latest.tgz
+pfSense_firmware)
+ binary_update $2
;;
pfSense_base)
- binary_update /tmp/latest_base.tgz
+ binary_update $2
;;
pfSense_kernel)
- binary_update /tmp/latest_kernel.tgz
+ binary_update $2
;;
esac
OpenPOWER on IntegriCloud