Author: nathan
Date: 2005-04-17 16:12:16 -0600 (Sun, 17 Apr 2005)
New Revision: 4992

Modified:
   trunk/bootscripts/CHANGELOG
   trunk/bootscripts/lfs/init.d/hotplug
   trunk/bootscripts/lfs/init.d/localnet
Log:
Edited localnet, and hotplug

Modified: trunk/bootscripts/CHANGELOG
===================================================================
--- trunk/bootscripts/CHANGELOG 2005-04-17 20:22:42 UTC (rev 4991)
+++ trunk/bootscripts/CHANGELOG 2005-04-17 22:12:16 UTC (rev 4992)
@@ -1,3 +1,7 @@
+n/a - April 17, 2005
+       * removed touch from hotplug bootscript (Matthew Burgess)
+       * moved commands around in localnet bootscript (Andrew Benton)
+
 3.2.0 - March 30, 2005
        * Changed from syslog-ng to sysklogd (Archaic)
        * Temporairly changed loadproc to return 0 if the program is

Modified: trunk/bootscripts/lfs/init.d/hotplug
===================================================================
--- trunk/bootscripts/lfs/init.d/hotplug        2005-04-17 20:22:42 UTC (rev 
4991)
+++ trunk/bootscripts/lfs/init.d/hotplug        2005-04-17 22:12:16 UTC (rev 
4992)
@@ -25,12 +25,9 @@
                echo_ok
                ;;
        stop)
-               # Remove /var/log/hotplug/events
-               rm /var/log/hotplug/events
+               # Remove and Recreate /var/log/hotplug/events
+               > /var/log/hotplug/events
 
-               # Recreate /var/log/hotplug/events
-               touch /var/log/hotplug/events
-
                ;;
        status)
                for rc in /etc/hotplug/*.rc

Modified: trunk/bootscripts/lfs/init.d/localnet
===================================================================
--- trunk/bootscripts/lfs/init.d/localnet       2005-04-17 20:22:42 UTC (rev 
4991)
+++ trunk/bootscripts/lfs/init.d/localnet       2005-04-17 22:12:16 UTC (rev 
4992)
@@ -19,8 +19,8 @@
 case "${1}" in
        start)
                boot_mesg "Bringing up the loopback interface..."
+               ip addr add 127.0.0.1/8 label lo dev lo
                ip link set lo up
-               ip addr add 127.0.0.1/8 label lo dev lo
                evaluate_retval
 
                boot_mesg "Setting hostname to ${HOSTNAME}..."

-- 
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