From 45c637ad6b8db88d49b841d769207bb6b60ed47e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 1 May 2012 10:15:39 -0700 Subject: [PATCH] Fix Debian boot startup (again) Signed-off-by: Tom Eastep --- Shorewall/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/install.sh b/Shorewall/install.sh index 2610ca2cc..fb03c415b 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -1108,7 +1108,7 @@ if [ -z "$DESTDIR" -a -n "$first_install" -a -z "${cygwin}${mac}" ]; then echo "Set startup=1 in ${CONFDIR}/default/$PRODUCT to enable" touch /var/log/$PRODUCT-init.log perl -p -w -i -e 's/^STARTUP_ENABLED=No/STARTUP_ENABLED=Yes/;s/^IP_FORWARDING=On/IP_FORWARDING=Keep/;s/^SUBSYSLOCK=.*/SUBSYSLOCK=/;' ${CONFDIR}/$PRODUCT/$PRODUCT.conf - update-rc.d $PRODUCT enable defaults + update-rc.d $PRODUCT defaults elif [ -n "$SYSTEMD" ]; then if systemctl enable $PRODUCT; then echo "$Product will start automatically at boot"