]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Add a clear keyring command at rc.local
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 1 Feb 2013 20:57:45 +0000 (18:57 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 1 Feb 2013 20:57:45 +0000 (18:57 -0200)
files/etc/rc.local

index 572eb90cd92814247443a2ea1350847f842c613c..4b8a41ecc63ca1957197550b92c53914b108aafb 100644 (file)
 #
 # By default this script does nothing.
 
+# Clear keyring
+if [ -x "/bin/keyctl" ]; then
+  /bin/keyctl clear @u
+fi
+
 # Force the hostname
 /bin/hostname `cat /etc/hostname`