Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2001 08:46:57 -0800 (PST)
From:      Seth Kingsley <sethk@meowfishies.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/31555: rc.syscons does not run standalone
Message-ID:  <200110281646.f9SGkvY79236@kaneda.meowfishies.com>

next in thread | raw e-mail | index | archive | help

>Number:         31555
>Category:       conf
>Synopsis:       rc.syscons does not run standalone
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 28 08:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Seth Kingsley
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD kaneda.meowfishies.com 4.4-STABLE FreeBSD 4.4-STABLE #0:
Sun Oct 21 21:17:41 PDT 2001
sethk@kaneda.meowfishies.com:/usr/obj/usr/src/sys/KANEDA i386

>Description:
Syscons should the definitions in /etc/{defaults/,}rc.conf so it may be
run stand-alone.

>How-To-Repeat:
	% sh /etc/rc.syscons

>Fix:

--- rc.syscons.orig	Sun Oct 28 09:11:41 2001
+++ rc.syscons	Sun Oct 28 09:10:38 2001
@@ -28,6 +28,16 @@
 #	Do syscons configuration
 #
 
+# Suck in the configuration variables.
+if [ -z "${source_rc_confs_defined}" ]; then
+	if [ -r /etc/defaults/rc.conf ]; then
+		. /etc/defaults/rc.conf
+		source_rc_confs
+	elif [ -r /etc/rc.conf ]; then
+		. /etc/rc.conf
+	fi
+fi
+
 # stdin must be redirected because it might be for a serial console
 #
 kbddev=/dev/ttyv0

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110281646.f9SGkvY79236>