X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/7e10088cece255a1f0bfeca3ef4a1634a35c552f..5362dd1b5a8b234e6427221e7d46d66ce7b69849:/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..e77db0251 100755 --- a/package/base-files/files/etc/init.d/network +++ b/package/base-files/files/etc/init.d/network @@ -20,6 +20,10 @@ start() { } restart() { + setup_switch() { return 0; } + + include /lib/network + setup_switch ifup -a /sbin/wifi up }