diff options
-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 8653a05a..ef206e79 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -644,7 +644,9 @@ for afile in /var/lock/* /var/run/* ; do if [ -d "$afile" ]; then case "$afile" in */news|*/mon) ;; - */sudo|*/vmware) rm -f $afile/*/* ;; + */sudo) rm -f $afile/*/* ;; + */vmware) rm -rf $afile/*/* ;; + */samba) rm -rf $afile/*/* ;; *) rm -f $afile/* ;; esac else |