aboutsummaryrefslogtreecommitdiff
path: root/net/shorewall-lite/files/hotplug_iface
blob: 90ed80c8c5c2c8b2370db055f3934c2754a88cff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# should restart shorewall when an interface comes up

case "$ACTION" in
    ifup)
        /etc/init.d/shorewall-lite restart
        ;;
    ifdown)
        # might need to restore some routing
        /etc/init.d/shorewall-lite restart
        ;;
esac