X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bad699e8c2dcf2e8ca61c8e4167c9ad53974e8be..2d17b93d5618cc37b3e1a4eafbb62a95a17c339f:/package/base-files/files/etc/init.d/network diff --git a/package/base-files/files/etc/init.d/network b/package/base-files/files/etc/init.d/network index ef415957c..74478c731 100755 --- a/package/base-files/files/etc/init.d/network +++ b/package/base-files/files/etc/init.d/network @@ -2,7 +2,7 @@ # Copyright (C) 2006 OpenWrt.org START=40 -STOP=40 +STOP=90 boot() { setup_switch() { return 0; } @@ -20,7 +20,10 @@ start() { } restart() { - setup_switch() + setup_switch() { return 0; } + + include /lib/network + setup_switch ifup -a /sbin/wifi up }