diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 4170a38f..34285b7d 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -614,7 +614,9 @@ _NEED_XFILES= for afile in /var/lock/* /var/run/* ; do if [ -d "$afile" ]; then case "`basename $afile`" in - news|sudo|mon) ;; + news|mon) ;; + sudo) + rm -f $afile/*/* ;; *) rm -f $afile/* ;; esac else |