From 89ac4eee26d07f9e62dcc518d386551e8eef40ad Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 9 Apr 2007 17:11:18 +0000 Subject: rc does not need SIGCHLD handler. Also, always return 0 in /etc/rc as non zero for default may freeze system. --- etc.BSD/rc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'etc.BSD/rc') diff --git a/etc.BSD/rc b/etc.BSD/rc index 64fb4df9..13a192a1 100644 --- a/etc.BSD/rc +++ b/etc.BSD/rc @@ -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 -- cgit v1.2.3