mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 20:58:41 +03:00
Remove /etc lock files at boot time
This commit is contained in:
parent
86c1e10a43
commit
f40a38b2c8
@ -98,6 +98,7 @@ mkdir -m 0700 -p /var/log/journal
|
||||
# Miscellaneous boot time cleanup.
|
||||
rm -rf /var/run /var/lock
|
||||
rm -f /etc/resolv.conf
|
||||
rm -f /etc/{group,passwd,shadow}.lock
|
||||
|
||||
if test -n "@cleanTmpDir@"; then
|
||||
echo -n "cleaning \`/tmp'..."
|
||||
|
Loading…
Reference in New Issue
Block a user