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

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Tue May 4 01:26:07 PDT 2004


nathan      04/05/04 02:26:07

  Modified:    bootscripts/lfs/init.d console
  Log:
  wont get help message the way it was before, so moved the filecheck into
  start case, reported by Alexander
  
  Revision  Changes    Path
  1.3       +6 -5      LFS/bootscripts/lfs/init.d/console
  
  Index: console
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/console,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- console	4 May 2004 07:40:36 -0000	1.2
  +++ console	4 May 2004 08:26:07 -0000	1.3
  @@ -9,15 +9,16 @@
   . $rc_functions
   
   # Native English speakers probably don't have /etc/sysconfig/console at all
  -if [ ! -f /etc/sysconfig/console ]
  -then
  -	exit 0
  -fi
   
  -./etc/sysconfig/console
   
   case "$1" in
   	start)
  +		if [ ! -f /etc/sysconfig/console ]
  +		then
  +			exit 0
  +		fi
  +		. /etc/sysconfig/console
  +
   		if [ ! -z "$KEYMAP" ]
   		then
   			echo -n "Loading keymap..."
  
  
  



More information about the lfs-book mailing list