From f7da3cd1c79c8bcecc08bd6831d8d56cc051fe8c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 26 Jan 2012 14:21:30 -0200 Subject: Just restart firewall when it is installed --- files/etc/rc.local | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3