mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Shorewall-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>
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# should restart shorewall-lite when an interface comes up
|
||||
# should restart shorewall when an interface comes up
|
||||
|
||||
[ ifup = "$ACTION" ] && {
|
||||
case "$ACTION" in
|
||||
ifup)
|
||||
/etc/init.d/shorewall-lite restart
|
||||
}
|
||||
|
||||
[ ifdown = "$ACTION" ] && {
|
||||
;;
|
||||
ifdown)
|
||||
# might need to restore some routing
|
||||
/etc/init.d/shorewall-lite restart
|
||||
}
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user