1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-19 14:30:18 +02:00
openwrt-xburst/package/netifd/files/etc/init.d/network
nbd 5cecffbb27 netifd: bring up all interfaces on /etc/init.d/network restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:50:59 +00:00

24 lines
245 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=40
STOP=90
start() {
setup_switch() { return 0; }
include /lib/network
setup_switch
ifup -a
grep -qs config /etc/config/wireless && {
/sbin/wifi up
}
}
restart() {
start
}
stop() {
/sbin/ifdown -a
}