summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-04-30 13:55:02 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-04-30 13:55:37 -0400
commit9875b318a7418f79617893c67703293af4a3c5f8 (patch)
tree1eab22eb21ce4783145cfdff341f71c11a8b0c7d
parent67fc82b59cfdb961422f6887d6509e228c9f9f30 (diff)
downloadpfsense-9875b318a7418f79617893c67703293af4a3c5f8.zip
pfsense-9875b318a7418f79617893c67703293af4a3c5f8.tar.gz
Exit after firmware update
-rwxr-xr-xetc/rc.initial.firmware_update4
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);
OpenPOWER on IntegriCloud