summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-10-18 10:53:57 +0200
committersmos <seth.mos@dds.nl>2012-10-18 10:53:57 +0200
commit95799b92a767f9c353f7dfb2a44299a8f7699f81 (patch)
tree4f4ffa426344f41259d7531bfbb206ab48c17f75 /etc
parent2ed21904ba8aea8e9f8490513d355423fdf12fd2 (diff)
downloadpfsense-95799b92a767f9c353f7dfb2a44299a8f7699f81.zip
pfsense-95799b92a767f9c353f7dfb2a44299a8f7699f81.tar.gz
Switch to background launching
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 5d831fd..0b1e133 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3341,7 +3341,7 @@ function interface_dhcpv6_configure($interface = "wan") {
$dhcp6c_options .= "-P ";
}
/* fire up dhcp6c for IPv6 first, this backgrounds immediately */
- mwexec("/usr/local/sbin/dhclient -6 {$dhcp6c_options} -cf {$g['varetc_path']}/dhcp6c_{$interface}.conf -lf {$g['varetc_path']}/dhcp6c_{$interface}.leases -pf {$g['varrun_path']}/dhcp6c_{$interface}.pid {$wanif}");
+ mwexec_bg("/usr/local/sbin/dhclient -6 {$dhcp6c_options} -cf {$g['varetc_path']}/dhcp6c_{$interface}.conf -lf {$g['varetc_path']}/dhcp6c_{$interface}.leases -pf {$g['varrun_path']}/dhcp6c_{$interface}.pid {$wanif}");
sleep(5);
return 0;
}
OpenPOWER on IntegriCloud