summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-01-12 22:43:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-01-12 22:43:45 +0000
commit0aeab9f19fba431950a78c974cf7bfd9cace8bbe (patch)
tree8eec2e717be96473be4d4cf3ffa4772b15e00e8b /etc
parent68ca6bf8baa5180202c0b49c523d78123705158d (diff)
downloadpfsense-0aeab9f19fba431950a78c974cf7bfd9cace8bbe.zip
pfsense-0aeab9f19fba431950a78c974cf7bfd9cace8bbe.tar.gz
Make sure $d_fwupenabled_path is defined since it is initially defined
in guiconfig.inc. At some point in the future these variables should be moved to globals.inc.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.initial_firmware_update2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.initial_firmware_update b/etc/rc.initial_firmware_update
index 19278fb..6f28d35 100644
--- a/etc/rc.initial_firmware_update
+++ b/etc/rc.initial_firmware_update
@@ -13,6 +13,8 @@ require("config.inc");
echo ".";
$g['booting'] = false;
+$d_fwupenabled_path = $g['varrun_path'] . "/fwup.enabled";
+
$fp = fopen('php://stdin', 'r');
echo ".\n\n";
OpenPOWER on IntegriCloud