Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2001 22:23:54 EST
From:      Hunt127588@aol.com
To:        freebsd-stable@freebsd.org
Subject:   Update from 4.4-Stable from 4.3-Stable
Message-ID:  <5f.1d23fe2a.29136bca@aol.com>

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

--part1_5f.1d23fe2a.29136bca_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

I have upgraded to 4.4-Stable from 4.3-Stable. However, now my 
/usr/local/etc/rc.d/* scripts aren't started upon bootup. I have to manually 
start them to get these services started. I ran mergmaster and installed all 
files except /etc/rc.conf which I kept. I found the bad code and it is as 
follows (lines 678-717) in /etc/rc as of Nov 1st:

###############################################
slist="${slist}${script_name_sep}${script}" 
                        done
                fi
        done
        script_save_sep="$IFS"
        IFS="${script_name_sep}"
        for script in ${slist}; do
                if [ -x "${script}" ]; then
                        (set -T
                        trap 'exit 1' 2
                        ${script} start)
                fi
        done
        IFS="${script_save_sep}"
###############################################

Robert

--part1_5f.1d23fe2a.29136bca_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

<HTML><FONT FACE=arial,helvetica><FONT  SIZE=2>I have upgraded to 4.4-Stable from 4.3-Stable. However, now my /usr/local/etc/rc.d/* scripts aren't started upon bootup. I have to manually start them to get these services started. I ran mergmaster and installed all files except /etc/rc.conf which I kept. I found the bad code and it is as follows (lines 678-717) in /etc/rc as of Nov 1st:
<BR>
<BR>###############################################
<BR>slist="${slist}${script_name_sep}${script}" 
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;done
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;done
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;script_save_sep="$IFS"
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IFS="${script_name_sep}"
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for script in ${slist}; do
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ -x "${script}" ]; then
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(set -T
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;trap 'exit 1' 2
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${script} start)
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;done
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IFS="${script_save_sep}"
<BR>###############################################
<BR>
<BR>Robert</FONT></HTML>

--part1_5f.1d23fe2a.29136bca_boundary--

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5f.1d23fe2a.29136bca>