mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
interfaces: detach newwanip call as discussed
This commit is contained in:
parent
975b38c065
commit
96039560ad
@ -318,7 +318,7 @@ BOUND|RENEW|REBIND|REBOOT)
|
||||
#if is_default_interface; then
|
||||
add_new_resolv_conf
|
||||
#fi
|
||||
/usr/local/etc/rc.newwanip $interface
|
||||
/usr/local/sbin/configctl -d interface newip $interface
|
||||
;;
|
||||
|
||||
EXPIRE|FAIL)
|
||||
@ -360,11 +360,11 @@ TIMEOUT)
|
||||
fi
|
||||
add_new_routes
|
||||
if ! is_default_interface; then
|
||||
/usr/local/etc/rc.newwanip $interface
|
||||
/usr/local/sbin/configctl -d interface newip $interface
|
||||
exit_with_hooks 0
|
||||
fi
|
||||
if add_new_resolv_conf; then
|
||||
/usr/local/etc/rc.newwanip $interface
|
||||
/usr/local/sbin/configctl -d interface newip $interface
|
||||
exit_with_hooks 0
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user