1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
12 append networks "$2" "$N"
19 setup_switch() { return 0; }
23 [ -s /etc/config/wireless ] || \
24 /sbin/wifi detect > /etc/config/wireless
26 for network in $networks; do
27 config_get startupcheck $network started
28 [ "$startupcheck" = "" ] && ifup $network
38 setup_switch() { return 0; }