From 4bb7942e1762a658ec0b2d60fa337528153e6255 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 3 Oct 2013 14:06:08 -0700 Subject: [PATCH] Apply Thomas D's Shorewall-init installer patch. Signed-off-by: Tom Eastep --- Shorewall-init/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-init/install.sh b/Shorewall-init/install.sh index 6027c4594..97a6a666d 100755 --- a/Shorewall-init/install.sh +++ b/Shorewall-init/install.sh @@ -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