diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 18:57:45 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 18:57:45 -0200 |
commit | b809b373c0d4bc06e0c54e570eeec89a5c95de38 (patch) | |
tree | a0e97a3dde59530651e19c8286ebf6157564bd0a /files | |
parent | ec6d6613f73d02b4cccd9f5da6c0ca31e76b0070 (diff) | |
download | puppet-nodo-b809b373c0d4bc06e0c54e570eeec89a5c95de38.tar.gz puppet-nodo-b809b373c0d4bc06e0c54e570eeec89a5c95de38.tar.bz2 |
Add a clear keyring command at rc.local
Diffstat (limited to 'files')
-rw-r--r-- | files/etc/rc.local | 5 |
1 files changed, 5 insertions, 0 deletions
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` |