netifd: shut down all interfaces before restarting netifd
SVN-Revision: 31032
This commit is contained in:
parent
571bd159a1
commit
6a30a0d992
1 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,13 @@ start() {
|
||||||
sleep 1
|
sleep 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
ifdown -a
|
||||||
|
sleep 1
|
||||||
|
stop
|
||||||
|
start
|
||||||
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
service_stop /sbin/netifd
|
service_stop /sbin/netifd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue