From b809b373c0d4bc06e0c54e570eeec89a5c95de38 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 1 Feb 2013 18:57:45 -0200 Subject: Add a clear keyring command at rc.local --- files/etc/rc.local | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'files/etc/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` -- cgit v1.2.3