Browse Source

net/mwan3: change usleep to sleep command

fix bug use sleep instead of usleep

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 7 years ago
parent
commit
3ee70a7001
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/mwan3/files/etc/hotplug.d/iface/14-mwan3

+ 1
- 1
net/mwan3/files/etc/hotplug.d/iface/14-mwan3 View File

@ -28,7 +28,7 @@ src_ip=$(uci_get_state mwan3 globals src_ip)
ip addr del "${src_ip}/32" dev lo 1>/dev/null 2>&1
}
usleep 10000
sleep 1
[ "$ACTION" = "ifup" ] && {
network_get_ipaddr src_ip "${local_source}"


Loading…
Cancel
Save