diff options
author | Bill Nottingham <notting@redhat.com> | 1999-05-24 20:52:31 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-05-24 20:52:31 +0000 |
commit | 2e03191317d895267ef1c22a7f07224ddf4818b6 (patch) | |
tree | 676fd9d27372d6f956d7d6d382f98d4998d6fe1d /rc.d | |
parent | 4e1b347451e0a87cd0742bdbdd2c745c010ce18f (diff) | |
download | initscripts-2e03191317d895267ef1c22a7f07224ddf4818b6.tar initscripts-2e03191317d895267ef1c22a7f07224ddf4818b6.tar.gz initscripts-2e03191317d895267ef1c22a7f07224ddf4818b6.tar.bz2 initscripts-2e03191317d895267ef1c22a7f07224ddf4818b6.tar.xz initscripts-2e03191317d895267ef1c22a7f07224ddf4818b6.zip |
comment clean out of /var
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index a0b2971b..f0a2b31c 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -292,6 +292,7 @@ chgrp utmp /var/run/utmp /var/log/wtmp chmod 0664 /var/run/utmp /var/log/wtmp # Clean up /var +# I'd use find, but /usr may not be mounted. for afile in /var/lock/* /var/run/*; do if [ -d $afile ]; then rm -f $afile/* @@ -300,19 +301,6 @@ for afile in /var/lock/* /var/run/*; do fi done -# 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* - -# Delete stale subsystem files. -#rm -f /var/lock/subsys/* - -# Delete stale pid files -#rm -f /var/run/*.pid - # Delete X locks rm -f /tmp/.X*-lock |