Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jun 2000 12:20:39 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        current@freebsd.org
Subject:   Re: Problems with source_rc_confs 
Message-ID:  <28924.959941239@axl.ops.uunet.co.za>
In-Reply-To: Your message of "Fri, 02 Jun 2000 12:07:13 %2B0200." <200006021007.MAA49856@Magelan.Leidinger.net> 

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


On Fri, 02 Jun 2000 12:07:13 +0200, Alexander Leidinger wrote:

> At the moment my /etc/rc contains:
> ---snip---
> # If there is a global system configuration file, suck it in.
> #
> if [ -r /etc/defaults/rc.conf ]; then
>         . /etc/defaults/rc.conf
>         . /etc/rc.conf
>         . /etc/rc.conf.local
>         #source_rc_confs
> elif [ -r /etc/rc.conf ]; then
>         . /etc/rc.conf
> fi

Can't you just leave the files alone?  rc.i386 doesn't need to
source_rc_confs, because rc alrady does that:

	# If there is a global system configuration file, suck it in.
	#
	if [ -r /etc/defaults/rc.conf ]; then
		. /etc/defaults/rc.conf
		source_rc_confs
	elif [ -r /etc/rc.conf ]; then
		. /etc/rc.conf
	fi

Try it with completely unmodified files.  It's working for at least 3 of
us. :-)

Ciao,
Sheldon.


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




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