diff options
author | Ermal <eri@pfsense.org> | 2013-06-11 10:02:30 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-06-11 10:02:50 +0000 |
commit | 7fdd0c73e0c57d4ecc82e670123c7458fde1db4e (patch) | |
tree | 1f405988b610bd2e5d020060e6727c0711132a35 /etc/inc | |
parent | 89784e551b60985a28b977822acad62b36792aa3 (diff) | |
download | pfsense-7fdd0c73e0c57d4ecc82e670123c7458fde1db4e.zip pfsense-7fdd0c73e0c57d4ecc82e670123c7458fde1db4e.tar.gz |
Wait 1 second before starting the other dhcp6c since pkill does not wait for the process to exit
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 9b97131..b055846 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -3482,6 +3482,7 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) { $rtsoldscript .= "echo $2 > {$g['tmp_path']}/{$wanif}_defaultgwv6\n"; $rtsoldscript .= "if [ -f {$g['varrun_path']}/dhcp6c_{$wanif}.pid ]; then\n"; $rtsoldscript .= "\t/bin/pkill -F {$g['varrun_path']}/dhcp6c_{$wanif}.pid\n"; + $rtsoldscript .= "\t/bin/sleep 1\n"; $rtsoldscript .= "fi\n"; $rtsoldscript .= "/usr/local/sbin/dhcp6c -d -c {$g['varetc_path']}/dhcp6c_{$interface}.conf -p {$g['varrun_path']}/dhcp6c_{$wanif}.pid {$wanif}\n"; /* Add wide-dhcp6c shell script here. Because we can not pass a argument to it. */ |