summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-06-11 10:02:30 +0000
committerErmal <eri@pfsense.org>2013-06-11 10:02:50 +0000
commit7fdd0c73e0c57d4ecc82e670123c7458fde1db4e (patch)
tree1f405988b610bd2e5d020060e6727c0711132a35 /etc/inc
parent89784e551b60985a28b977822acad62b36792aa3 (diff)
downloadpfsense-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.inc1
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. */
OpenPOWER on IntegriCloud