X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7e10088cece255a1f0bfeca3ef4a1634a35c552f..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 2a116664e..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,6 +20,10 @@ start() { } restart() { + setup_switch() { return 0; } + + include /lib/network + setup_switch ifup -a /sbin/wifi up }