2 # This script is executed as part of the hotplug event with
3 # HOTPLUG_TYPE=iface, triggered by various scripts when an interface
4 # is configured (ACTION=ifup) or deconfigured (ACTION=ifdown). The
5 # interface is available as INTERFACE, the real device as DEVICE.
7 [ "$DEVICE" == "lo" ] && exit 0
10 .
/lib
/firewall
/core.sh
13 fw_is_loaded ||
exit 0
17 fw_configure_interface
"$INTERFACE" add
"$DEVICE" &
20 fw_configure_interface
"$INTERFACE" del
"$DEVICE" &
This page took 0.042213 seconds and 5 git commands to generate.