Changes to make RedHat work with NetworkManager

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-05-18 13:41:01 -07:00
parent 592c9bbdbc
commit 5b2affbd01
3 changed files with 11 additions and 3 deletions

View File

@ -80,7 +80,7 @@ else
*ifdown*) *ifdown*)
COMMAND=down COMMAND=down
;; ;;
*dispatch.d*) *dispatcher.d*)
COMMAND="$2" COMMAND="$2"
;; ;;
*) *)

View File

@ -251,11 +251,11 @@ if [ -z "$PREFIX" ]; then
ln -s /usr/share/shorewall-init/ifupdown /sbin/ifdown-local ln -s /usr/share/shorewall-init/ifupdown /sbin/ifdown-local
fi fi
if [ -d /etc/NetworkManager/dispatch.d ]; then if [ -d /etc/NetworkManager/dispatcher.d ]; then
# #
# RedHat doesn't integrate ifup/ifdown-local with NetworkManager # RedHat doesn't integrate ifup/ifdown-local with NetworkManager
# #
ln -s /usr/share/shorewall-init/ifupdown /etc/NetworkManager/dispatch.d/shorewall ln -s /usr/share/shorewall-init/ifupdown /etc/NetworkManager/dispatcher.d/01-shorewall
fi fi
fi fi

View File

@ -1,3 +1,11 @@
Changes in Shorewall 4.4.10
1) Fix regression with scripts.
2) Log startup errors.
3) Implement Shorewall-init.
Changes in Shorewall 4.4.9 Changes in Shorewall 4.4.9
1) Auto-detection of bridges. 1) Auto-detection of bridges.