1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
8 setup_switch() { return 0; }
13 grep -qs config /etc/config/wireless && {
20 for ifc in $interfaces; do
22 config_get proto "$ifc" proto
25 config_get_bool auto "$ifc" auto 1
27 type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \
28 coldplug_interface_$proto "$ifc"
33 setup_switch() { return 0; }