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