aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-19 11:21:51 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-19 11:21:51 -0200
commit0d9a10c61f2a5a644fb6edfe14c3c7dfd07a1783 (patch)
tree16610df6748975647b9c44324a58eeda4ba9dcd9
parentf12b812397ca86497a8da0cda37184dda20b859a (diff)
downloadpuppet-nodo-0d9a10c61f2a5a644fb6edfe14c3c7dfd07a1783.tar.gz
puppet-nodo-0d9a10c61f2a5a644fb6edfe14c3c7dfd07a1783.tar.bz2
Restart shorewall to make sure it gets virtual interfaces
-rw-r--r--files/etc/rc.local3
1 files changed, 3 insertions, 0 deletions
diff --git a/files/etc/rc.local b/files/etc/rc.local
index ce067a7..8772152 100644
--- a/files/etc/rc.local
+++ b/files/etc/rc.local
@@ -25,5 +25,8 @@ if [ -d "/proc/bus/usb" ]; then
/bin/mount -t usbfs usbfs /proc/bus/usb -onodev,noexec,nosuid
fi
+# Restart shorewall to make sure it gets virtual interfaces
+/etc/init.d/shorewall restart
+
# Then exit
exit 0