mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
base-files: reload switch settings on /etc/init.d/network start as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20232 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user