cvs commit: LFS/bootscripts/lfs/init.d mountkernfs mountproc

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Fri Mar 19 13:36:36 PST 2004


nathan      04/03/19 14:36:36

  Modified:    bootscripts CHANGELOG Makefile README
  Added:       bootscripts/lfs/init.d mountkernfs
  Removed:     bootscripts INSTALL
               bootscripts/lfs/init.d mountproc
  Log:
  Moved mountproc to mountkernfs, updated README
  
  Revision  Changes    Path
  1.26      +6 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- CHANGELOG	17 Mar 2004 22:24:23 -0000	1.25
  +++ CHANGELOG	19 Mar 2004 21:36:36 -0000	1.26
  @@ -1,3 +1,9 @@
  +2.0.0 - March 19, 2004
  +
  +	* Renamed mountproc to mountkernfs
  +	* Updated the README file
  +	* Tagged as release 2.0.0
  +
   1.99.4 - March 17, 2004
   
   	* Fixed one last halt line in checkfs script
  
  
  
  1.7       +2 -2      LFS/bootscripts/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/Makefile,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Makefile	17 Mar 2004 22:24:23 -0000	1.6
  +++ Makefile	19 Mar 2004 21:36:36 -0000	1.7
  @@ -10,7 +10,7 @@
   	install -m 754 lfs/init.d/loadkeys     ${EXTDIR}/rc.d/init.d/
   	install -m 754 lfs/init.d/localnet     ${EXTDIR}/rc.d/init.d/
   	install -m 754 lfs/init.d/mountfs      ${EXTDIR}/rc.d/init.d/
  -	install -m 754 lfs/init.d/mountproc    ${EXTDIR}/rc.d/init.d/
  +	install -m 754 lfs/init.d/mountkernfs  ${EXTDIR}/rc.d/init.d/
   	install -m 754 lfs/init.d/network      ${EXTDIR}/rc.d/init.d/
   	install -m 754 lfs/init.d/rc           ${EXTDIR}/rc.d/init.d/
   	install -m 754 lfs/init.d/reboot       ${EXTDIR}/rc.d/init.d/
  @@ -45,7 +45,7 @@
   	ln -s ../init.d/localnet    ${EXTDIR}/rc.d/rc6.d/K90localnet
   	ln -s ../init.d/reboot      ${EXTDIR}/rc.d/rc6.d/K99reboot
   	ln -s ../init.d/swap        ${EXTDIR}/rc.d/rcsysinit.d/S10swap
  -	ln -s ../init.d/mountproc   ${EXTDIR}/rc.d/rcsysinit.d/S20mountproc
  +	ln -s ../init.d/mountkernfs ${EXTDIR}/rc.d/rcsysinit.d/S20mountkernfs
   	ln -s ../init.d/checkfs     ${EXTDIR}/rc.d/rcsysinit.d/S30checkfs
   	ln -s ../init.d/mountfs     ${EXTDIR}/rc.d/rcsysinit.d/S40mountfs
   	ln -s ../init.d/cleanfs     ${EXTDIR}/rc.d/rcsysinit.d/S50cleanfs
  
  
  
  1.2       +15 -0     LFS/bootscripts/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/README,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README	31 Jan 2004 08:05:20 -0000	1.1
  +++ README	19 Mar 2004 21:36:36 -0000	1.2
  @@ -15,9 +15,24 @@
   		- These scripts are run instead of the SERVICE, if they
                     exist.  Depreciated, but remains for comatibility purpose
   
  +		sysconfig/network
  +		- GATEWAY: Specifies the IPAddress of the gateway server
  +		- GATEWAY_IF: Specifies which IPAddress the gateway is
  +		              connected to
  +		- HOSTNAME: Value of the system's hostname
  +
   	Additional Configuration:
   		sysconfig/network-devices/ifconfig.*
   		static:
   		- IP: static IP Address
   		- NETMASK: netmask, defaults to NETMASK=255.255.255.0
   		- BROADCAST: broadcast address
  +
  +SetClock configuration:
  +	Script Files:
  +		rc.d/init.d/setclock
  +
  +	Configuration Files:
  +		sysconfig/clock
  +		- UTC: 1 assumes hwclock is in UTC
  +		       0 assumes hwclock is in local time
  
  
  
  1.1                  LFS/bootscripts/lfs/init.d/mountkernfs
  
  Index: mountkernfs
  ===================================================================
  #!/bin/sh
  # Begin $rc_base/init.d/mountkernfs
  
  # Rewritten by Gerard Beekmans  - gerard at linuxfromscratch.org
  
  . /etc/sysconfig/rc
  . $rc_functions
  
  case "$1" in
  	start)
  		if [ ! -e /proc/mounts ]; then
  			echo "Mounting proc file system..."
  			mount -n /proc
  			evaluate_retval
  		fi
  		;;
  	*)
  		echo "Usage $0 {start}"
  		exit 1
  		;;
  esac
  
  # End $rc_base/init.d/mountkernfs
  
  
  



More information about the lfs-book mailing list