]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Cleanup rc.local: puppet and shorewall
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 12 Mar 2016 14:13:32 +0000 (11:13 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 12 Mar 2016 14:13:32 +0000 (11:13 -0300)
files/etc/rc.local

index 124623db8625968c11344a1282581070c3d7d8ce..775a383b0ab488047db58a2c45a2e9b7f22f0799 100644 (file)
@@ -19,21 +19,15 @@ fi
 # Force the hostname
 /bin/hostname `cat /etc/hostname`
 
-# Remove puppetd lock
-rm -f /var/lib/puppet/state/puppetdlock
-
-# Then restart puppet with the right hostname
-/etc/init.d/puppet restart
-
 # Keep this mountpoint while ekeyd fact needs it
 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
-if [ -f '/etc/init.d/shorewall' ]; then
-  /etc/init.d/shorewall restart
-fi
+#if [ -f '/etc/init.d/shorewall' ]; then
+#  /etc/init.d/shorewall restart
+#fi
 
 # Start system-wide screen session
 if [ -f "/etc/screenrc.startup" ]; then