Skip to content

Commit 15c19c7

Browse files
committed
Add some sleep to avoid dhclient ipv6 timing issue
1 parent 4345e5e commit 15c19c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

up-fiber.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/etc/dhcp/dhclient-orange-generator.sh
44

5+
sleep 2
56
dhclient -4 -i $WAN_INTERFACE.832 -cf /etc/dhcp/dhclient-orange-v4.conf -df /var/lib/dhcp/dhclient-orange-v4.duid -lf /var/lib/dhcp/dhclient-orange-v4.lease -v
6-
sleep 1
7+
sleep 2
78
dhclient -6 -P -D LL -i $WAN_INTERFACE.832 -cf /etc/dhcp/dhclient-orange-v6.conf -df /var/lib/dhcp/dhclient-orange-v6.duid -lf /var/lib/dhcp/dhclient-orange-v6.lease -v -e WAN_INTERFACE=$WAN_INTERFACE -e LAN_INTERFACE=$LAN_INTERFACE
8-
sleep 1

0 commit comments

Comments
 (0)