summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-04 15:38:10 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-04 15:38:10 +0000
commita1bed51b6bf8269a07dbdc436b4455126650baf0 (patch)
tree9fe3f075def3ec987a906c2d2b55cb0d42505d67 /etc
parent6f27412f5f842a544542b0f0de51c6e8d905ceac (diff)
downloadpfsense-a1bed51b6bf8269a07dbdc436b4455126650baf0.zip
pfsense-a1bed51b6bf8269a07dbdc436b4455126650baf0.tar.gz
Fix double include.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.bootup5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 50cc5bc..991670f 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -98,6 +98,10 @@ $pkg_interface = 'console';
$g['booting'] = true;
touch("{$g['varrun_path']}/booting");
+/* Create a shared memory for counting the consumers of conf_mount_rw. */
+if ($g['platform'] != "cdrom" || $g['platform'] != "pfSense")
+ $g['confmountshmid'] = shmop_open($g['confmountshm'], "c", 0666, 10);
+
/* parse the configuration and include all functions used below */
require_once("/etc/inc/config.inc");
echo ".";
@@ -290,7 +294,6 @@ vpn_setup();
captiveportal_configure();
/* start Voucher support */
-require_once("voucher.inc");
voucher_configure();
/* run any shell commands specified in config.xml */
OpenPOWER on IntegriCloud