From owner-freebsd-questions Sat Sep 16 10: 0:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web117.yahoomail.com (web117.yahoomail.com [205.180.60.91]) by hub.freebsd.org (Postfix) with SMTP id BFA4137B424 for ; Sat, 16 Sep 2000 10:00:48 -0700 (PDT) Received: (qmail 13571 invoked by uid 60001); 16 Sep 2000 17:00:48 -0000 Message-ID: <20000916170048.13570.qmail@web117.yahoomail.com> Received: from [216.127.154.26] by web117.yahoomail.com; Sat, 16 Sep 2000 10:00:48 PDT Date: Sat, 16 Sep 2000 10:00:48 -0700 (PDT) From: Matthew Schroebel Subject: /etc/rc.conf being ignored To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all. I'm trying to both upgrade my mail server to FreeBSD 4.1 and install a larger drive at the same time. So I decided to put the drive in a different machine, install FreeBSD 4.1 on it, move the rc.conf, rc.firewall, sendmail.cf, etc over to the new drive, then put the new drive in the mail server and boot it. The trouble is, the /etc/rc.conf file is being ignored. I looked at /etc/defaults/rc.conf and the code to load the local overrides has changed from prior versions. Not knowing shell scripting language, and not wanting to change /etc/defaults/rc.conf, I'm stuck. The code at the end of /etc/defaults/rc.conf is if [-z "${source_rc_confsdefined}" ]; then source_rc_confs_defined=yes source_rc_confs ( ) { local i sourced_files for i in ${rc_conf_files}; do case ${sourced_files} in *:$i:*) ;; *) sourced_files="${sourced_files}:$i" if [ -r $i ]; then . $i fi ;; esac done } __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message