I've done the modification, but it still does not work on my ubuntu.
my /etc/event.d/rcS is as follows:

# rcS - runlevel compatibility
#
# 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
#runlevel --set S >/dev/null || true
#PREVLEVEL=N
#RUNLEVEL=S
#export PREVLEVEL RUNLEVEL

set $(runlevel --set S || true)
if [ "$1" != "unknown" ]; then
PREVLEVEL=$1
RUNLEVEL=$2
export PREVLEVEL RUNLEVEL
fi

exec /etc/init.d/rcS
end script

what's wrong?

-- 
/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

Reply via email to