mirror of https://github.com/hak5/openwrt.git
netifd: shut down all interfaces before restarting netifd
SVN-Revision: 31032lede-17.01
parent
571bd159a1
commit
6a30a0d992
|
@ -15,6 +15,13 @@ start() {
|
|||
sleep 1
|
||||
}
|
||||
|
||||
restart() {
|
||||
ifdown -a
|
||||
sleep 1
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /sbin/netifd
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue