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

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


nathan      04/03/19 14:52:28

  Modified:    bootscripts CHANGELOG
               bootscripts/lfs/init.d setclock
  Log:
  Added stop to setclock.  Please note that there are no symlinks to rc0 or
  rc6.
  
  Revision  Changes    Path
  1.28      +1 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- CHANGELOG	19 Mar 2004 21:41:26 -0000	1.27
  +++ CHANGELOG	19 Mar 2004 21:52:28 -0000	1.28
  @@ -3,6 +3,7 @@
   	* Renamed mountproc to mountkernfs
   	* Updated the README file
   	* Coloured the print_error_message in functions red
  +	* added stop to the setclock script
   	* Tagged as release 2.0.0
   
   1.99.4 - March 17, 2004
  
  
  
  1.2       +7 -1      LFS/bootscripts/lfs/init.d/setclock
  
  Index: setclock
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/setclock,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- setclock	17 Mar 2004 22:24:23 -0000	1.1
  +++ setclock	19 Mar 2004 21:52:28 -0000	1.2
  @@ -23,8 +23,14 @@
   
   case $1 in
   	start)
  -		echo "Setting clock..."
  +		echo "Setting system clock..."
   		hwclock --hctosys $CLOCKPARAMS
  +		evaluate_retval
  +		;;
  +
  +	stop)
  +		echo "Setting hardware clock..."
  +		hwclock --systohc $CLOCKPARAMS
   		evaluate_retval
   		;;
   
  
  
  



More information about the lfs-book mailing list