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

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Tue Jun 15 09:36:31 PDT 2004


winkie      04/06/15 10:36:31

  Modified:    bootscripts CHANGELOG
               bootscripts/lfs/init.d cleanfs
  Log:
  Don't output "Creating files and directories" unless we actually will
  
  Revision  Changes    Path
  1.102     +1 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- CHANGELOG	15 Jun 2004 16:34:03 -0000	1.101
  +++ CHANGELOG	15 Jun 2004 16:36:31 -0000	1.102
  @@ -3,6 +3,7 @@
   	* Reset /proc/sys/kernel/hotplug to /bin/true when running the "stop"
   	  command for hotplug
   	* Cleaned the output of the mountkernfs script
  +	* Don't output "Creating files and directories" when it's a lie
   
   n/a - June 8, 2004
   
  
  
  
  1.12      +1 -1      LFS/bootscripts/lfs/init.d/cleanfs
  
  Index: cleanfs
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/cleanfs,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- cleanfs	14 May 2004 19:04:38 -0000	1.11
  +++ cleanfs	15 Jun 2004 16:36:31 -0000	1.12
  @@ -64,7 +64,7 @@
   		  -exec rm -rf {} \;
   		evaluate_retval
   
  -		if [ -r /etc/sysconfig/createfiles ]; then
  +		if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
   			echo "Creating files and directories..."
   			create_files
   			evaluate_retval
  
  
  



More information about the lfs-book mailing list