diff options
author | Colin Smith <colin@pfsense.org> | 2005-04-18 01:40:17 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-04-18 01:40:17 +0000 |
commit | 89a5f4451fb58791bc46c7c27c043231c7ff3477 (patch) | |
tree | 431f27ecb548ceca72eca968ce66c2f7b1f55bcf /etc/rc.firmware | |
parent | 5f69494b1815efcf094dc749009fd3cebd71ae2f (diff) | |
download | pfsense-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-x | etc/rc.firmware | 8 |
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 |