From: Silvio Rhatto Date: Fri, 1 Feb 2013 20:57:45 +0000 (-0200) Subject: Add a clear keyring command at rc.local X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b809b373c0d4bc06e0c54e570eeec89a5c95de38;p=puppet-nodo.git Add a clear keyring command at rc.local --- diff --git a/files/etc/rc.local b/files/etc/rc.local index 572eb90..4b8a41e 100644 --- a/files/etc/rc.local +++ b/files/etc/rc.local @@ -11,6 +11,11 @@ # # 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`