diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-05-04 22:52:51 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-05-04 22:52:51 -0400 |
commit | 945eca4e54c2e26b35b81476f245ded9df68fefe (patch) | |
tree | fc5017d68acc818f52bf38b1b7df462096499f4c | |
parent | f48a37fd049eea47819f79a9658211a61ffbe234 (diff) | |
download | pfsense-945eca4e54c2e26b35b81476f245ded9df68fefe.zip pfsense-945eca4e54c2e26b35b81476f245ded9df68fefe.tar.gz |
Set $g too
-rw-r--r-- | etc/rc.initial_firmware_update | 2 |
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"; |