mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix restart on platforms without a setup_switch()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10846 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dc71c1b189
commit
a7ce99aa6b
@ -20,6 +20,8 @@ start() {
|
||||
}
|
||||
|
||||
restart() {
|
||||
setup_switch() { return 0; }
|
||||
|
||||
include /lib/network
|
||||
setup_switch
|
||||
ifup -a
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user