Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 1996 15:11:23 GMT
From:      James Raynard <james@jraynard.demon.co.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/1224: rc.i386 moved to /etc/etc.i386 but /etc/rc not updated
Message-ID:  <199605201511.PAA16867@jraynard.demon.co.uk>
Resent-Message-ID: <199605201820.LAA05909@freefall.freebsd.org>

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

>Number:         1224
>Category:       i386
>Synopsis:       rc.i386 moved to /etc/etc.i386 but /etc/rc not updated
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 20 11:20:01 PDT 1996
>Last-Modified:
>Originator:     James Raynard
>Organization:
A FreeBSD-current box
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

FreeBSD 2.2-CURRENT, CVS tree as of last night.

>Description:

/etc/rc executes an architecture-specific script rc.$arch, which it expects
to find in /etc. However, the file resides in /etc/etc.i386/; there is no
etc/rc.i386 file in the CVS tree.

>How-To-Repeat:

By inspection, after noting that linux LKM is not loaded when booting!

>Fix:
	
Apply this patch

*** /home/james/src/etc/rc~	Wed May  8 09:25:57 1996
--- /home/james/src/etc/rc	Mon May 20 15:00:57 1996
***************
*** 311,318 ****
  
  # configure implementation specific stuff
  arch=`uname -m`
! if [ -f /etc/rc.${arch} ]; then
! 	. /etc/rc.${arch}
  fi
  
  # for each valid dir in $local_startup, search for init scripts matching *.sh
--- 311,318 ----
  
  # configure implementation specific stuff
  arch=`uname -m`
! if [ -f /etc/etc.${arch}/rc.${arch} ]; then
! 	. /etc/etc.${arch}/rc.${arch}
  fi
  
  # for each valid dir in $local_startup, search for init scripts matching *.sh
>Audit-Trail:
>Unformatted:



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