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

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


nathan      04/03/19 14:41:26

  Modified:    bootscripts CHANGELOG
               bootscripts/lfs/init.d functions
  Log:
  Just set the color of print_error_message [in functions] to $FAILURE
  
  Revision  Changes    Path
  1.27      +1 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- CHANGELOG	19 Mar 2004 21:36:36 -0000	1.26
  +++ CHANGELOG	19 Mar 2004 21:41:26 -0000	1.27
  @@ -2,6 +2,7 @@
   
   	* Renamed mountproc to mountkernfs
   	* Updated the README file
  +	* Coloured the print_error_message in functions red
   	* Tagged as release 2.0.0
   
   1.99.4 - March 17, 2004
  
  
  
  1.2       +2 -0      LFS/bootscripts/lfs/init.d/functions
  
  Index: functions
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/functions,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- functions	17 Mar 2004 22:24:23 -0000	1.1
  +++ functions	19 Mar 2004 21:41:26 -0000	1.2
  @@ -52,6 +52,7 @@
   # $i is inherited by the rc script
   print_error_msg()
   {
  +	echo -e -n $FAILURE
           echo
           echo "You should not be reading this error message. It means"
           echo "that an unforseen error took place in $i,"
  @@ -63,6 +64,7 @@
           echo
           echo
           echo "Press Enter to continue..."
  +	echo -e -n $NORMAL
           read ENTER
   }
   
  
  
  



More information about the lfs-book mailing list