Apply Thomas D's Shorewall-init installer patch.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-10-03 14:06:08 -07:00
parent 9c30105fff
commit 4bb7942e17

View File

@ -385,7 +385,7 @@ else
mkdir -p ${DESTDIR}${SYSCONFDIR}/network/if-down.d
elif [ $HOST = gentoo ]; then
# Gentoo does not support if-{up,down}.d
return
/bin/true
else
mkdir -p ${DESTDIR}/etc/NetworkManager/dispatcher.d
fi
@ -467,7 +467,7 @@ if [ -z "$DESTDIR" ]; then
elif [ $HOST = gentoo ]; then
# On Gentoo, a service must be enabled manually by the user,
# not by the installer
return
/bin/true
else
if [ -n "$SYSTEMD" ]; then
if systemctl enable shorewall-init.service; then