summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-05-04 22:52:51 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-05-04 22:52:51 -0400
commit945eca4e54c2e26b35b81476f245ded9df68fefe (patch)
treefc5017d68acc818f52bf38b1b7df462096499f4c
parentf48a37fd049eea47819f79a9658211a61ffbe234 (diff)
downloadpfsense-945eca4e54c2e26b35b81476f245ded9df68fefe.zip
pfsense-945eca4e54c2e26b35b81476f245ded9df68fefe.tar.gz
Set $g too
-rw-r--r--etc/rc.initial_firmware_update2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initial_firmware_update b/etc/rc.initial_firmware_update
index 0190ffa..e3badf7 100644
--- a/etc/rc.initial_firmware_update
+++ b/etc/rc.initial_firmware_update
@@ -150,7 +150,7 @@ function check_for_kernel_file() {
}
function do_upgrade($path) {
- global $fp;
+ global $fp, $g;
touch($g['varrun_path'] . "/firmware.lock");
check_for_kernel_file();
echo "\nOne moment please... Invoking firmware upgrade...\n";
OpenPOWER on IntegriCloud