1 # Copyright (C) 2006 OpenWrt.org
7 local cfg="$(find_config "$INTERFACE")"
9 # check the autoload setting
10 config_get auto "$cfg" auto
12 1|on|enabled) setup_interface "$INTERFACE";;
16 # find all vlan configurations for this interface and set them up as well
17 for ifc in $interfaces; do
18 config_get iftype "$ifc" type
19 config_get ifs "$ifc" device
21 [ "${dev%%\.*}" = "$INTERFACE" -a "$dev" != "$INTERFACE" ] && {
30 case "$PHYSDEVDRIVER" in