[scripts] clean /var/run (/run) and /var/lock

systemd mounts them as tmpfs anyway
This commit is contained in:
Fabio Erculiani
2013-11-15 16:09:45 +01:00
parent e86f9464ba
commit a43bcbd4d1
5 changed files with 25 additions and 0 deletions
+5
View File
@@ -224,4 +224,9 @@ rm -f /var/run/entropy/entropy.lock
rm -f /var/lib/entropy/entropy.pid
rm -f /var/lib/entropy/entropy.lock # old?
# remove /run/* and /var/lock/*
# systemd mounts them using tmpfs
rm -rf /run/*
rm -rf /var/lock/*
exit 0