I'm happy with ... elif grep -qE -- "[[:space:]]+[1-5]([[:space:]]|$)" /proc/cmdline; then RL="$(grep -Eo -- "[[:space:]]+[1-5]([[:space:]]|$)" /proc/cmdline)" if [ -n "$RL" ]; then telinit $RL else telinit 2 fi ... on hardy.
** Attachment added: "rc-default" http://launchpadlibrarian.net/16764232/rc-default -- Fail to enter rc1.d by putting 1 in bootparam in edgy https://bugs.launchpad.net/bugs/85014 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs