* Clear utmp.

svn path=/nixu/trunk/; revision=7115
This commit is contained in:
Eelco Dolstra 2006-11-24 10:50:49 +00:00
parent 5f212a6913
commit f0695e9fcd

View File

@ -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