Author: jim
Date: 2006-08-27 22:25:29 -0600 (Sun, 27 Aug 2006)
New Revision: 2280
Modified:
/
trunk/bootscripts/
trunk/bootscripts/Changelog
trunk/bootscripts/lfs/sysconfig/network-devices/ifdown
Log:
[EMAIL PROTECTED] (orig r2413): jim | 2006-08-27 21:02:54 -0700
[EMAIL PROTECTED]: jim | 2006-08-27 21:00:26 -0700
Added the same logic fix to ifdown, that jeremy added to ifup
Property changes on:
___________________________________________________________________
Name: svk:merge
- b6734a72-470d-0410-b049-f317dca95413:/:2412
+ b6734a72-470d-0410-b049-f317dca95413:/:2413
Property changes on: trunk/bootscripts
___________________________________________________________________
Name: svk:merge
- 38c7b366-470d-0410-a457-935707c16d9b:/bootscripts:5239
3949c430-d905-0410-97b6-f115d20341b5:/bootscripts:1331
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/bootscripts:1109
+ 38c7b366-470d-0410-a457-935707c16d9b:/bootscripts:5255
3949c430-d905-0410-97b6-f115d20341b5:/bootscripts:1331
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/bootscripts:1109
Modified: trunk/bootscripts/Changelog
===================================================================
--- trunk/bootscripts/Changelog 2006-08-28 04:25:17 UTC (rev 2279)
+++ trunk/bootscripts/Changelog 2006-08-28 04:25:29 UTC (rev 2280)
@@ -1,3 +1,11 @@
+jim - August 27, 2006
+ * Added the same change to ifdown script.
+
+jeremy - August 21, 2006
+ * Logic error in ifup script - output of ip link show always shows
+ all interfaces - added a grep to only look at the interface we're
+ interested in
+
jim - July 27, 2006
* Corrected install-minimal symlinks
Modified: trunk/bootscripts/lfs/sysconfig/network-devices/ifdown
===================================================================
--- trunk/bootscripts/lfs/sysconfig/network-devices/ifdown 2006-08-28
04:25:17 UTC (rev 2279)
+++ trunk/bootscripts/lfs/sysconfig/network-devices/ifdown 2006-08-28
04:25:29 UTC (rev 2280)
@@ -82,7 +82,7 @@
done
if [ -z "${2}" ]; then
- link_status=`ip link show $1 2> /dev/null`
+ link_status=`ip link show ${1} 2> /dev/null | grep ${1}`
if [ -n "${link_status}" ]; then
if echo "${link_status}" | grep -q UP; then
boot_mesg "Bringing down the ${1} interface..."
--
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page