summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-06 15:25:50 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-06 15:25:50 +0000
commita7ddc5398d4cd06658871d41572b06e4b4324871 (patch)
tree2487c3eed3cc6e78f7a701bf860bf0c96a945ed2 /etc/inc
parentfec21a9930fe712b7c35ac38b28fb26a958a838a (diff)
downloadpfsense-a7ddc5398d4cd06658871d41572b06e4b4324871.zip
pfsense-a7ddc5398d4cd06658871d41572b06e4b4324871.tar.gz
Surpress enc0 creation
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/vpn.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 6371c56..66687e4 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -97,8 +97,8 @@ function find_last_gif_device() {
function vpn_ipsec_configure($ipchg = false) {
global $config, $g, $sa, $sn;
- mwexec("/sbin/ifconfig enc0 create");
- mwexec("/sbin/ifconfig enc0 up");
+ mwexec("/sbin/ifconfig enc0 create", true);
+ mwexec("/sbin/ifconfig enc0 up", true);
/* get the automatic /etc/ping_hosts.sh ready */
unlink_if_exists("/var/db/ipsecpinghosts");
OpenPOWER on IntegriCloud