net/mwan3: change usleep to sleep command
fix bug use sleep instead of usleep Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
267c0eeaed
commit
3ee70a7001
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue