diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-04-30 13:55:02 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-04-30 13:55:37 -0400 |
commit | 9875b318a7418f79617893c67703293af4a3c5f8 (patch) | |
tree | 1eab22eb21ce4783145cfdff341f71c11a8b0c7d | |
parent | 67fc82b59cfdb961422f6887d6509e228c9f9f30 (diff) | |
download | pfsense-9875b318a7418f79617893c67703293af4a3c5f8.zip pfsense-9875b318a7418f79617893c67703293af4a3c5f8.tar.gz |
Exit after firmware update
-rwxr-xr-x | etc/rc.initial.firmware_update | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.initial.firmware_update b/etc/rc.initial.firmware_update index ca45148..affce11 100755 --- a/etc/rc.initial.firmware_update +++ b/etc/rc.initial.firmware_update @@ -90,8 +90,10 @@ switch ($command) { } if(stristr($url,"bdiff")) $type = "bdiff"; - if(file_exists("/root/firmware.tgz")) + if(file_exists("/root/firmware.tgz")) { do_upgrade("/root/firmware.tgz", $type); + exit; + } } else { echo "\nCould not download update.\n\n"; fclose($fp); |