From owner-freebsd-bugs Sun Oct 28 8:50: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BC1C837B405 for ; Sun, 28 Oct 2001 08:50:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9SGo0D14363; Sun, 28 Oct 2001 08:50:00 -0800 (PST) (envelope-from gnats) Received: from kaneda.meowfishies.com (c747958-d.plstn1.sfba.home.com [65.0.173.134]) by hub.freebsd.org (Postfix) with ESMTP id 8178337B403 for ; Sun, 28 Oct 2001 08:47:40 -0800 (PST) Received: (from sethk@localhost) by kaneda.meowfishies.com (8.11.3/8.11.3) id f9SGkvY79236; Sun, 28 Oct 2001 08:46:57 -0800 (PST) (envelope-from sethk) Message-Id: <200110281646.f9SGkvY79236@kaneda.meowfishies.com> Date: Sun, 28 Oct 2001 08:46:57 -0800 (PST) From: Seth Kingsley Reply-To: Seth Kingsley To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: conf/31555: rc.syscons does not run standalone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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