Author: jim
Date: 2005-03-13 23:42:39 -0700 (Sun, 13 Mar 2005)
New Revision: 4752

Modified:
   trunk/bootscripts/lfs/init.d/hotplug
Log:
Updated: hotplug bootscript to support /var/log/hotplug/events clearing

Modified: trunk/bootscripts/lfs/init.d/hotplug
===================================================================
--- trunk/bootscripts/lfs/init.d/hotplug        2005-03-14 06:40:47 UTC (rev 
4751)
+++ trunk/bootscripts/lfs/init.d/hotplug        2005-03-14 06:42:39 UTC (rev 
4752)
@@ -6,7 +6,7 @@
 #
 # Authors     : Zack Winkles
 #
-# Version     : 00.00
+# Version     : 00.01
 #
 # Notes       :
 #
@@ -27,6 +27,12 @@
        stop)
                # Remove hotplug as the default manager of hotplug events
                echo /bin/true > /proc/sys/kernel/hotplug
+
+                # Remove /var/log/hotplug/events
+                rm /var/log/hotplug/events
+
+                # Recreate /var/log/hotplug/events
+                touch /var/log/hotplug/events
                ;;
        status)
                for rc in /etc/hotplug/*.rc

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to