netifd: shut down all interfaces before restarting netifd

SVN-Revision: 31032
This commit is contained in:
Felix Fietkau 2012-03-19 21:09:51 +00:00
parent 571bd159a1
commit 6a30a0d992

View File

@ -15,6 +15,13 @@ start() {
sleep 1
}
restart() {
ifdown -a
sleep 1
stop
start
}
stop() {
service_stop /sbin/netifd
}