diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-03-04 15:38:10 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-03-04 15:38:10 +0000 |
commit | a1bed51b6bf8269a07dbdc436b4455126650baf0 (patch) | |
tree | 9fe3f075def3ec987a906c2d2b55cb0d42505d67 | |
parent | 6f27412f5f842a544542b0f0de51c6e8d905ceac (diff) | |
download | pfsense-a1bed51b6bf8269a07dbdc436b4455126650baf0.zip pfsense-a1bed51b6bf8269a07dbdc436b4455126650baf0.tar.gz |
Fix double include.
-rwxr-xr-x | etc/rc.bootup | 5 |
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 */ |