depend() { use coldplug hotplug pcmcia usb isdn wlan # Load any custom depend functions for the given interface # For example, br0 may need eth0 and eth1 local iface=${myservice##*.} [[ $( type -t depend_${iface} ) == "function" ]] && depend_${iface} }