uci_set_state network "$config" device "$device"
}
uci_set_state network "$config" device "$device"
}
+setup_interface_none() {
+ env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=none /sbin/hotplug-call "iface" &
+}
+
setup_interface_static() {
local iface="$1"
local config="$2"
setup_interface_static() {
local iface="$1"
local config="$2"
lock -u "/var/lock/dhcp-$iface"
fi
;;
lock -u "/var/lock/dhcp-$iface"
fi
;;
+ none)
+ setup_interface_none "$iface" "$config"
+ ;;
*)
if ( eval "type setup_interface_$proto" ) >/dev/null 2>/dev/null; then
eval "setup_interface_$proto '$iface' '$config' '$proto'"
*)
if ( eval "type setup_interface_$proto" ) >/dev/null 2>/dev/null; then
eval "setup_interface_$proto '$iface' '$config' '$proto'"