1 # Copyright (C) 2006 OpenWrt.org
6 # PPP devices are configured by pppd, no need to run setup_interface here
12 local cfg="$(find_config "$INTERFACE")"
14 # check the autoload setting
15 config_get auto "$cfg" auto
17 1|on|enabled) setup_interface "$INTERFACE";;
21 # find all vlan configurations for this interface and set them up as well
22 for ifc in $interfaces; do
23 config_get iftype "$ifc" type
24 config_get ifs "$ifc" device
26 [ "${dev%%\.*}" = "$INTERFACE" -a "$dev" != "$INTERFACE" ] && {
35 case "$PHYSDEVDRIVER" in