base-files: reload switch settings on /etc/init.d/network start as well

SVN-Revision: 20232
lede-17.01
Felix Fietkau 2010-03-15 14:02:49 +00:00
parent 0095ab73f3
commit 3ab30b486f
1 changed files with 4 additions and 5 deletions

View File

@ -15,11 +15,6 @@ boot() {
}
start() {
ifup -a
/sbin/wifi up
}
restart() {
setup_switch() { return 0; }
include /lib/network
@ -31,3 +26,7 @@ restart() {
stop() {
ifdown -a
}
restart() {
start
}