diff options
author | smos <seth.mos@dds.nl> | 2012-10-18 10:53:57 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-10-18 10:53:57 +0200 |
commit | 95799b92a767f9c353f7dfb2a44299a8f7699f81 (patch) | |
tree | 4f4ffa426344f41259d7531bfbb206ab48c17f75 | |
parent | 2ed21904ba8aea8e9f8490513d355423fdf12fd2 (diff) | |
download | pfsense-95799b92a767f9c353f7dfb2a44299a8f7699f81.zip pfsense-95799b92a767f9c353f7dfb2a44299a8f7699f81.tar.gz |
Switch to background launching
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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; } |