aboutsummaryrefslogtreecommitdiff
path: root/files/etc/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/rc.local')
-rw-r--r--files/etc/rc.local4
1 files changed, 3 insertions, 1 deletions
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