* Clear utmp.
svn path=/nixu/trunk/; revision=7115
This commit is contained in:
parent
5f212a6913
commit
f0695e9fcd
@ -84,6 +84,13 @@ ln -sf /nix/var/nix/profiles /nix/var/nix/gcroots/
|
||||
export MODULE_DIR=@kernel@/lib/modules/
|
||||
|
||||
|
||||
# Miscellaneous cleanup.
|
||||
rm -f /var/run/*
|
||||
|
||||
echo -n > /var/run/utmp # must exist
|
||||
chmod 664 /var/run/utmp
|
||||
|
||||
|
||||
# Start udev.
|
||||
udevd --daemon
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user