From nobody  Wed Apr 30 07:44:13 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.5/8.8.5) id HAA29697;
          Wed, 30 Apr 1997 07:44:13 -0700 (PDT)
Message-Id: <199704301444.HAA29697@hub.freebsd.org>
Date: Wed, 30 Apr 1997 07:44:13 -0700 (PDT)
From: gianowa@eo.ray.com
To: freebsd-gnats-submit@freebsd.org
Subject: start-if.${ifn} needs to be called as a shell script in netstart
X-Send-Pr-Version: www-1.0

>Number:         3430
>Category:       bin
>Synopsis:       start-if.${ifn} needs to be called as a shell script in netstart
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    steve
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 30 07:50:00 PDT 1997
>Closed-Date:    Sat Aug 23 09:36:04 PDT 1997
>Last-Modified:  Sat Aug 23 09:36:41 PDT 1997
>Originator:     William A. Gianopoulos
>Release:        FreeBSD 2.2-RELEASE
>Organization:
Raytheon Company
>Environment:
FreeBSD gianowa.eo.ray.com 2.2-RELEASE FreeBSD 2.2-RELEASE #0: Tue Apr
29 13:12:30 EDT 1997
root@gianowa.eo.ray.com:/usr/src/sys/compile/GIANOWA  i386
>Description:
/etc/netstart executes start_if.${ifn} with a '.' rather than with a
'sh'.  This results in the ${ifn} parameter that is passed being
meaningless, as well as if the start_if script exits, it ends up
exiting netstart rather than just the start_if script.

>How-To-Repeat:

>Fix:
Replace the line:
                . /etc/start_if.${ifn} ${ifn}
with the line:
                sh /etc/start_if.${ifn} ${ifn}
in /etc/netstart.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sat Aug 23 09:36:04 PDT 1997 
State-Changed-Why:  
PR should be closed as noted in misc/4028. 
>Unformatted:
