cvs commit: LFS/bootscripts/lfs/init.d localnet

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Thu May 6 09:02:06 PDT 2004


winkie      04/05/06 10:02:06

  Modified:    bootscripts CHANGELOG
               bootscripts/lfs/init.d localnet
  Log:
  Don't use loadproc in localnet, it's not meant for that
  
  Revision  Changes    Path
  1.71      +4 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- CHANGELOG	4 May 2004 22:55:40 -0000	1.70
  +++ CHANGELOG	6 May 2004 16:02:06 -0000	1.71
  @@ -1,3 +1,7 @@
  +n/a - May 6, 2004
  +
  +	* Don't use loadproc in localnet, it's not meant for that
  +
   2.1.0 - May 4, 2004
   
   	* Update to the console script, prevent install of the console script
  
  
  
  1.2       +6 -3      LFS/bootscripts/lfs/init.d/localnet
  
  Index: localnet
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/localnet,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- localnet	17 Mar 2004 22:24:23 -0000	1.1
  +++ localnet	6 May 2004 16:02:06 -0000	1.2
  @@ -11,15 +11,18 @@
   case "$1" in
   	start)
   		echo "Bringing up the loopback interface..."
  -		loadproc ifconfig lo 127.0.0.1
  +		ifconfig lo 127.0.0.1
  +		evaluate_retval
   
   		echo "Setting hostname to $HOSTNAME..."
  -		loadproc hostname $HOSTNAME
  +		hostname $HOSTNAME
  +		evaluate_retval
   		;;
   
   	stop)
   		echo "Bringing down the loopback interface..."
  -		loadproc ifconfig lo down
  +		ifconfig lo down
  +		evaluate_retval
   		;;
   
   	restart)
  
  
  



More information about the lfs-book mailing list