OK, I've finally managed to work out that a "-" before the line means
"delete" and a "+" insert. So now my rcS looks as follows:
# This task runs the old sysv-rc startup scripts.
start on startup
stop on runlevel
# Note: there can be no previous runlevel here, if we have one it's bad
# information (we enter rc1 not rcS for maintenance).
console output
script
set $(runlevel --set S || true)
if [ "$1" != "unknown" ]; then
PREVLEVEL=$1
RUNLEVEL=$2
export PREVLEVEL RUNLEVEL
fi
PREVLEVEL=N
RUNLEVEL=S
export PREVLEVEL RUNLEVEL
exec /etc/init.d/rcS
end script
--
/etc/event.d/rcS does not set RUNLEVEL properly
https://bugs.launchpad.net/bugs/76304
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs