[scripts] clean /var/run (/run) and /var/lock
systemd mounts them as tmpfs anyway
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user