i added
set $(runlevel || true)
if [ "$2" = "0" ] || [ "$2" = "6" ]; then
runlevel --set "$1" || true
fi
to the script section of the files you mentioned before and it does fix
the problems of shutdown -h now and ctrl-alt-delete and of the double
control-alt-delete.
is the neater solution to go into the same files as replacement for the
complete script/end script sections?
--
Ctl+Alt+Del twice at tty console login gives root access
https://launchpad.net/bugs/63852
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs