mountfs:
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:
parent
8168820fa3
commit
934abdb477
|
@ -41,4 +41,7 @@ script
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
if [ -f /var/run/utmp ]; then
|
||||||
|
cp /dev/null /var/run/utmp
|
||||||
|
fi
|
||||||
end script
|
end script
|
||||||
|
|
|
@ -27,9 +27,13 @@ pre-start script
|
||||||
/bin/mkdir -p /dev/shm
|
/bin/mkdir -p /dev/shm
|
||||||
/bin/mkdir -p /dev/pts
|
/bin/mkdir -p /dev/pts
|
||||||
/bin/mount -n -t tmpfs -o mode=1755 none /dev/shm
|
/bin/mount -n -t tmpfs -o mode=1755 none /dev/shm
|
||||||
|
if [ ! -c /dev/null ]; then
|
||||||
/bin/mknod /dev/null c 1 3
|
/bin/mknod /dev/null c 1 3
|
||||||
|
fi
|
||||||
/bin/chmod 666 /dev/null
|
/bin/chmod 666 /dev/null
|
||||||
|
if [ ! -c /dev/console ]; then
|
||||||
/bin/mknod /dev/console c 5 1
|
/bin/mknod /dev/console c 5 1
|
||||||
|
fi
|
||||||
status_message "udev prestart ready"
|
status_message "udev prestart ready"
|
||||||
end script
|
end script
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user