# Contributed by: João Valverde . "$SUBR_DIR/ip" declare -ag BindsToInterfaces dummy_up() { if is_interface "$Interface"; then report_error "Interface '$Interface' already exists" return 1 fi ip link add "$Interface" type dummy bring_interface_up "$Interface" ip_set } dummy_down() { ip_unset bring_interface_down "$Interface" ip link del "$Interface" } # vim: ft=sh ts=4 et sw=4: