X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/943fc97fb0340c01d8039bccbfc6c90ddcffc774..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 75103ec07..74478c731 100755 --- a/package/base-files/files/etc/init.d/network +++ b/package/base-files/files/etc/init.d/network @@ -2,20 +2,9 @@ # Copyright (C) 2006 OpenWrt.org START=40 -STOP=40 - -config_cb() { - local cfg_type="$1" - - case "$cfg_type" in - interface) - append networks "$2" "$N" - ;; - esac -} +STOP=90 boot() { - uci_load network setup_switch() { return 0; } include /lib/network @@ -23,10 +12,6 @@ boot() { [ -s /etc/config/wireless ] || \ /sbin/wifi detect > /etc/config/wireless /sbin/wifi up - for network in $networks; do - config_get startupcheck $network started - [ "$startupcheck" = "" ] && ifup $network - done } start() {