Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2000 10:00:48 -0700 (PDT)
From:      Matthew Schroebel <mschroebel@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   /etc/rc.conf being ignored
Message-ID:  <20000916170048.13570.qmail@web117.yahoomail.com>

next in thread | raw e-mail | index | archive | help
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




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