Ein loeschen der utmp Datei beim Hochfahren hinzugefügt. Damit sollten die Fragen nach noch offenen
Sessions beim logout im KDE beendet sein
udev:
/dev/console und /dev/null wird auf vorhandensein geprüft vor dem anlegen..



git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@5872 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-11-21 13:42:11 +00:00
parent 8168820fa3
commit 934abdb477
2 changed files with 9 additions and 2 deletions

View File

@ -41,4 +41,7 @@ script
fi
done
/sbin/ldconfig
if [ -f /var/run/utmp ]; then
cp /dev/null /var/run/utmp
fi
end script

View File

@ -27,9 +27,13 @@ pre-start script
/bin/mkdir -p /dev/shm
/bin/mkdir -p /dev/pts
/bin/mount -n -t tmpfs -o mode=1755 none /dev/shm
/bin/mknod /dev/null c 1 3
if [ ! -c /dev/null ]; then
/bin/mknod /dev/null c 1 3
fi
/bin/chmod 666 /dev/null
/bin/mknod /dev/console c 5 1
if [ ! -c /dev/console ]; then
/bin/mknod /dev/console c 5 1
fi
status_message "udev prestart ready"
end script