Skip site navigation (1)Skip section navigation (2)
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:   conf/42807: /etc/netstart doesn't run /etc/defaults/pccard.conf
Message-ID:  <200209151504.g8FF40bx088478@www.freebsd.org>

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

>Number:         42807
>Category:       conf
>Synopsis:       /etc/netstart doesn't run /etc/defaults/pccard.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 15 08:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

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




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