aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 933ff7d2..21c6e7a5 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -243,6 +243,10 @@ fi
rm -f /etc/mtab~ /fastboot /fsckoptions /forcefsck
>/var/run/utmp
+# Delete pam_console lock and refcount files
+rm -f /var/lock/console.lock
+rm -f /var/lock/console/*
+
# Delete UUCP lock files.
rm -f /var/lock/LCK*