diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-01-26 14:21:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-01-26 14:21:30 -0200 |
commit | f7da3cd1c79c8bcecc08bd6831d8d56cc051fe8c (patch) | |
tree | af734d236f1a0a846bd5fdb57d454474d6b1f2af /files/etc/rc.local | |
parent | 36257396dca0e9e0b14b3db620d186f278432780 (diff) | |
download | puppet-nodo-f7da3cd1c79c8bcecc08bd6831d8d56cc051fe8c.tar.gz puppet-nodo-f7da3cd1c79c8bcecc08bd6831d8d56cc051fe8c.tar.bz2 |
Just restart firewall when it is installed
Diffstat (limited to 'files/etc/rc.local')
-rw-r--r-- | files/etc/rc.local | 4 |
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 |