rc does not need SIGCHLD handler. Also, always return 0 in /etc/rc as non zero for default may freeze system.

This commit is contained in:
Roy Marples
2007-04-09 17:11:18 +00:00
parent 3c7c1736b7
commit 89ac4eee26
2 changed files with 9 additions and 17 deletions

View File

@@ -11,4 +11,12 @@
RUNLEVEL="1" /sbin/rc sysinit || exit 1
RUNLEVEL="1" /sbin/rc boot || exit 1
/sbin/rc default || exit 1
PREVLEVEL="1" /sbin/rc default
# If we return non zero after starting rc then 2 things may happen
# 1) We get the message "init: can't get /dev/console for controlling terminal"
# every few seconds
# 2) We get no error and console freezes.
# This is probably a bug somewhere in rc, but until that is fixed we have to
# return 0.
exit 0