diff options
Diffstat (limited to 'daemons/rc.sh')
-rw-r--r-- | daemons/rc.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/daemons/rc.sh b/daemons/rc.sh index c311b829..30814d48 100644 --- a/daemons/rc.sh +++ b/daemons/rc.sh @@ -56,13 +56,11 @@ fi # Until new hostname functions are in place test -r /etc/hostname && hostname `cat /etc/hostname` -echo -n cleaning lock files... +echo -n cleaning up left over files... rm -f /etc/nologin rm -f /var/lock/LCK.* -echo done - -echo -n clearing /tmp... (cd /tmp; find . ! -name . ! -name lost+found ! -name quotas -exec rm -r {} \; ) +(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; }) echo done echo -n restoring pty permissions... |