diff options
author | Dave Reisner <d@falconindy.com> | 2011-03-26 16:32:00 -0400 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-03-29 20:09:59 +0000 |
commit | 32272781b1d49496bcc5b6ce4394192e0f7306a3 (patch) | |
tree | f7c68154289562e350a7bf8b76c3d2e984e553df /rc.sysinit | |
parent | 6261540369407f6db66dd4c922c5833fc736c21b (diff) |
rc.sysinit: condense calls to rm
Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -334,11 +334,8 @@ if [[ -f $RANDOM_SEED ]]; then fi stat_busy "Removing Leftover Files" -/bin/rm -f /etc/nologin &>/dev/null -/bin/rm -f /etc/shutdownpid &>/dev/null -/bin/rm -f /var/lock/* &>/dev/null +/bin/rm -f /etc/{nologin,shutdownpid} /var/lock/* /forcefsck &>/dev/null /bin/rm -rf /tmp/* /tmp/.* &>/dev/null -/bin/rm -f /forcefsck &>/dev/null [[ -d /var/run ]] && /usr/bin/find /var/run/ \! -type d -delete : >| /var/run/utmp /bin/chmod 0664 /var/run/utmp |