From nobody@FreeBSD.org  Sun Sep 15 08:04:01 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9C6F837B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Sep 2002 08:04:01 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3FEC443E42
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Sep 2002 08:04:01 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8FF40OT088479
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Sep 2002 08:04:00 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g8FF40bx088478;
	Sun, 15 Sep 2002 08:04:00 -0700 (PDT)
Message-Id: <200209151504.g8FF40bx088478@www.freebsd.org>
Date: Sun, 15 Sep 2002 08:04:00 -0700 (PDT)
From: "Guilherme J. R. Oliveira" <guilherme@nortenet.pt>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /etc/netstart doesn't run /etc/defaults/pccard.conf
X-Send-Pr-Version: www-1.0

>Number:         42807
>Category:       conf
>Synopsis:       /etc/netstart doesn't run /etc/defaults/pccard.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 15 08:10:02 PDT 2002
>Closed-Date:    Mon Jan 10 17:44:24 MST 2005
>Last-Modified:  Mon Jan 10 17:44:24 MST 2005
>Originator:     Guilherme J. R. Oliveira
>Release:        4.6.2-RELEASE #0
>Organization:
host-valley.com
>Environment:
FreeBSD parpa.garpa 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Sun Sep  8 02:34:23 WEST 2002     root@parpa.garpa:/usr/obj/usr/src/sys/PARPA  i386
      
>Description:
I have exported /usr/src to my laptop and I use /etc/netstart in single mode to install world.

If we have a /etc/pccard.conf it's everything ok.
If not it doesn't check /etc/defaults/pccard.conf as does for rc.conf.
So we have no network ...
>How-To-Repeat:
Have a laptop with a pcmcia nic :)

Boot in single user
/etc/netstart
>Fix:
*** netstart.old	Tue Jun 11 05:20:09 2002
--- netstart	Sun Sep 15 16:54:17 2002
***************
*** 43,49 ****
  fi
  
  # Start pccard if necessary
! if [ -r /etc/rc.pccard ]; then
  	. /etc/rc.pccard
  fi
  
--- 43,51 ----
  fi
  
  # Start pccard if necessary
! if [ -r /etc/defaults/rc.pccard]; then
!         . /etc/defaults/rc.pccard
! elif [ -r /etc/rc.pccard ]; then
  	. /etc/rc.pccard
  fi
>Release-Note:
>Audit-Trail:

From: Makoto Matsushita <matusita@jp.FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/42807: /etc/netstart doesn't run /etc/defaults/pccard.conf
Date: Mon, 16 Sep 2002 21:33:33 +0900

 guilherme>   # Start pccard if necessary
 guilherme> ! if [ -r /etc/defaults/rc.pccard]; then
 guilherme> !         . /etc/defaults/rc.pccard
 guilherme> ! elif [ -r /etc/rc.pccard ]; then
 guilherme>   	. /etc/rc.pccard
 guilherme>   fi
 
 FreeBSD doesn't have /etc/defaults/rc.pccard, why this patch try to
 check the file?  What's the meanings?
 
 -- -
 Makoto `MAR' Matsushita
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Jul 12 16:55:20 PDT 2003 
Responsible-Changed-Why:  
Assign to pccard maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42807 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Mon Jan 10 17:43:38 MST 2005 
State-Changed-Why:  
OLDCARD is no longer supported, and this isn't relevant to branch maint of oldcard 


http://www.freebsd.org/cgi/query-pr.cgi?pr=42807 
>Unformatted:
