r4187 - in trunk/bootscripts: . contrib/sysconfig/network-devices/services lfs/sysconfig/network-devices/services

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Wed Sep 22 01:04:15 PDT 2004


Author: nathan
Date: 2004-09-22 02:04:11 -0600 (Wed, 22 Sep 2004)
New Revision: 4187

Modified:
   trunk/bootscripts/CHANGELOG
   trunk/bootscripts/contrib/sysconfig/network-devices/services/mtu
   trunk/bootscripts/lfs/sysconfig/network-devices/services/ipv4-static
Log:
fixed mtu service, enhanced ipv4-static-route with SOURCE variable.  Supplied by Kevin P Fleming

Modified: trunk/bootscripts/CHANGELOG
===================================================================
--- trunk/bootscripts/CHANGELOG	2004-09-22 05:58:26 UTC (rev 4186)
+++ trunk/bootscripts/CHANGELOG	2004-09-22 08:04:11 UTC (rev 4187)
@@ -1,6 +1,8 @@
 n/a - September 21, 2004
 	* boot_mesg has been enhanced.  Subsequent calls will overwrite previous text,
 	  and it will wrap text based upon the variable ${WCOL}.
+	* Fixed mtu optional service typo (Kevin P Fleming)
+	* Added SOURCE variable to ipv4-static-route (Kevin P Fleming)
 
 n/a - September 16, 2004
 	* nework interfaces are now brought down in reverse order

Modified: trunk/bootscripts/contrib/sysconfig/network-devices/services/mtu
===================================================================
--- trunk/bootscripts/contrib/sysconfig/network-devices/services/mtu	2004-09-22 05:58:26 UTC (rev 4186)
+++ trunk/bootscripts/contrib/sysconfig/network-devices/services/mtu	2004-09-22 08:04:11 UTC (rev 4187)
@@ -11,7 +11,7 @@
 . $rc_functions 
 . $IFCONFIG
 
-if [ -z "$MTU"l; then
+if [ -z "$MTU" ]; then
 	echo "MTU variable missing from $IFCONFIG, cannot continue"
 	exit 1
 fi

Modified: trunk/bootscripts/lfs/sysconfig/network-devices/services/ipv4-static
===================================================================
--- trunk/bootscripts/lfs/sysconfig/network-devices/services/ipv4-static	2004-09-22 05:58:26 UTC (rev 4186)
+++ trunk/bootscripts/lfs/sysconfig/network-devices/services/ipv4-static	2004-09-22 08:04:11 UTC (rev 4187)
@@ -32,6 +32,9 @@
 	args="$args broadcast $BROADCAST"
 fi
 
+if [ -n "$SOURCE" ]; then
+	args="$args src $SOURCE"
+fi
 
 case "$2" in
 	up)




More information about the lfs-book mailing list