Author: jim
Date: 2005-03-31 10:23:18 -0700 (Thu, 31 Mar 2005)
New Revision: 4831
Modified:
trunk/bootscripts/lfs/sysconfig/network-devices/ifup
Log:
Fixes to ifup
Modified: trunk/bootscripts/lfs/sysconfig/network-devices/ifup
===================================================================
--- trunk/bootscripts/lfs/sysconfig/network-devices/ifup 2005-03-31
14:37:09 UTC (rev 4830)
+++ trunk/bootscripts/lfs/sysconfig/network-devices/ifup 2005-03-31
17:23:18 UTC (rev 4831)
@@ -18,7 +18,6 @@
. /etc/sysconfig/rc
. ${rc_functions}
-
# Collect a list of configuration files for our interface
if [ -n "${2}" ]; then
for file in [EMAIL PROTECTED] # All parameters except $1
@@ -61,9 +60,8 @@
continue
fi
-
if [ -n "${SERVICE}" -a -x
"${network_devices}/services/${SERVICE}" ]; then
- if [ -n "${CHECK_LINK}" -o "${CHECK_LINK}" = "y" -o
"${CHECK_LINK}" = "yes" -o "${CHECK_LINK}" = "1" ]; then
+ if [ -z "${CHECK_LINK}" -o "${CHECK_LINK}" = "y" -o
"${CHECK_LINK}" = "yes" -o "${CHECK_LINK}" = "1" ]; then
if ip link show ${1} > /dev/null 2>&1; then
link_status=`ip link show ${1} 2>
/dev/null`
if [ -n "${link_status}" ]; then
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page