aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 9899ab75..d46b080b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -652,7 +652,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