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

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Tue Jun 1 21:22:10 PDT 2004


nathan      04/06/01 22:22:10

  Modified:    bootscripts CHANGELOG
               bootscripts/lfs/init.d udev
  Log:
  Always set /proc/sys/kernel/hotplug in the udev script
  
  Revision  Changes    Path
  1.92      +1 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- CHANGELOG	2 Jun 2004 04:14:49 -0000	1.91
  +++ CHANGELOG	2 Jun 2004 04:22:10 -0000	1.92
  @@ -1,6 +1,7 @@
   n/a - June 1, 2004
   
   	* removed usbfs from mountkernfs, and mountfs
  +	* Edited the udev script, so it'll always set /proc/sys/kernel/hotplug
   
   n/a - May 24, 2004
   
  
  
  
  1.3       +4 -1      LFS/bootscripts/lfs/init.d/udev
  
  Index: udev
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/udev,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- udev	17 May 2004 02:07:03 -0000	1.2
  +++ udev	2 Jun 2004 04:22:10 -0000	1.3
  @@ -25,7 +25,10 @@
   	start)
   		# When the hotplug package isn't installed, make sure that udev
   		# still gets hotplug events.
  -		if [ ! -x /sbin/hotplug ]; then
  +		
  +		if [ -x /sbin/hotplug ]; then
  +			echo /sbin/hotplug > /proc/sys/kernel/hotplug
  +		else
   			echo /sbin/udev > /proc/sys/kernel/hotplug
   		fi
   
  
  
  



More information about the lfs-book mailing list