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

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Thu Jun 3 19:55:44 PDT 2004


nathan      04/06/03 20:55:44

  Modified:    bootscripts CHANGELOG
               bootscripts/lfs/init.d sendsignals
  Log:
  Disabled hotplug events in sendsignals, so no new daemons can be started
  
  Revision  Changes    Path
  1.96      +5 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- CHANGELOG	3 Jun 2004 01:59:31 -0000	1.95
  +++ CHANGELOG	4 Jun 2004 02:55:44 -0000	1.96
  @@ -1,3 +1,8 @@
  +n/a - June 3, 2004
  +
  +	* Added '> /proc/sys/kernel/hotplug' to sendsignals, to disable hotplug
  +	  events, which may start up new daemons
  +
   n/a - June 2, 2004
   
   	* Reorganize what goes on in the udev script
  
  
  
  1.2       +4 -0      LFS/bootscripts/lfs/init.d/sendsignals
  
  Index: sendsignals
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/sendsignals,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sendsignals	17 Mar 2004 22:24:23 -0000	1.1
  +++ sendsignals	4 Jun 2004 02:55:44 -0000	1.2
  @@ -9,6 +9,10 @@
   
   case "$1" in
   	stop)
  +		echo "Disabling Hotplug Events..."
  +		> /proc/sys/kernel/hotplug
  +		evaluate_retval
  +
   		echo "Sending all processes the TERM signal..."
   		killall5 -15
   		error_value=$?
  
  
  



More information about the lfs-book mailing list