cvs commit: LFS/bootscripts/contrib/init.d hotplug

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Wed Jun 16 08:33:49 PDT 2004


winkie      04/06/16 09:33:49

  Modified:    bootscripts/contrib/init.d hotplug
  Log:
  Shuffled things around so IEEE 1384 functions again
  
  Revision  Changes    Path
  1.5       +3 -3      LFS/bootscripts/contrib/init.d/hotplug
  
  Index: hotplug
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/contrib/init.d/hotplug,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- hotplug	15 Jun 2004 16:11:09 -0000	1.4
  +++ hotplug	16 Jun 2004 15:33:49 -0000	1.5
  @@ -11,14 +11,14 @@
   
   case "$1" in
   	start|restart)
  +		# Set hotplug as the default manager of hotplug events
  +		echo /sbin/hotplug > /proc/sys/kernel/hotplug
  +
   		echo "Loading modules for system devices..."
   		for rc in /etc/hotplug/*.rc; do
   			$rc $1
   		done
   		print_status success
  -
  -		# Set hotplug as the default manager of hotplug events
  -		echo /sbin/hotplug > /proc/sys/kernel/hotplug
   		;;
   	stop)
   		# Remove hotplug as the default manager of hotplug events
  
  
  



More information about the lfs-book mailing list