packages/net/shorewall6/files/hotplug_iface
W. van den Akker 82c7fab9a6
Shorewall6: Add full package.
Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
2017-11-13 08:07:06 +01:00

13 lines
256 B
Bash

#!/bin/sh
# should restart shorewall when an interface comes up
case "$ACTION" in
ifup)
/etc/init.d/shorewall6 restart
;;
ifdown)
# might need to restore some routing
/etc/init.d/shorewall6 restart
;;
esac