aboutsummaryrefslogtreecommitdiff
path: root/files/etc/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/rc.local')
-rw-r--r--files/etc/rc.local5
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`