mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-19 13:36:57 +00:00
netifd: shut down all interfaces before restarting netifd
SVN-Revision: 31032
This commit is contained in:
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
Block a user