packages/net/shorewall6-lite/files/hotplug_iface
W. van den Akker 68df55029e
Shorewall6-lite: Bump to version 5.1.8.1
Several changes in Makefile.

Migrate init script to procd.

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
2017-11-13 08:05:29 +01:00

13 lines
No EOL
265 B
Bash

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