From: Silvio Rhatto Date: Thu, 26 Jan 2012 16:21:30 +0000 (-0200) Subject: Just restart firewall when it is installed X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f7da3cd1c79c8bcecc08bd6831d8d56cc051fe8c;p=puppet-nodo.git Just restart firewall when it is installed --- diff --git a/files/etc/rc.local b/files/etc/rc.local index 8772152..572eb90 100644 --- a/files/etc/rc.local +++ b/files/etc/rc.local @@ -26,7 +26,9 @@ if [ -d "/proc/bus/usb" ]; then fi # Restart shorewall to make sure it gets virtual interfaces -/etc/init.d/shorewall restart +if [ -f '/etc/init.d/shorewall' ]; then + /etc/init.d/shorewall restart +fi # Then exit exit 0