aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-01-31 20:36:13 +0000
committerBill Nottingham <notting@redhat.com>2000-01-31 20:36:13 +0000
commit46c30b79f0cbbf63c92c3f1096137886f4541276 (patch)
tree52eea0c131ab725242d7bddba64897f575036a12
parent2f8d6dfcd54c7af0163fb3ca849f1d543f977b73 (diff)
downloadinitscripts-46c30b79f0cbbf63c92c3f1096137886f4541276.tar
initscripts-46c30b79f0cbbf63c92c3f1096137886f4541276.tar.gz
initscripts-46c30b79f0cbbf63c92c3f1096137886f4541276.tar.bz2
initscripts-46c30b79f0cbbf63c92c3f1096137886f4541276.tar.xz
initscripts-46c30b79f0cbbf63c92c3f1096137886f4541276.zip
revert
-rwxr-xr-xsysconfig/network-scripts/ifup11
1 files changed, 5 insertions, 6 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 8e37de6b..116a4e5f 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -31,6 +31,11 @@ fi
source_config
+if [ "foo$2" = "fooboot" -a "${ONBOOT}" = "no" -o "${ONBOOT}" = "NO" ]
+then
+ exit
+fi
+
IPSETUP=no
DEVICETYPE=`echo $DEVICE | sed "s/[0-9]*$//"`
@@ -50,12 +55,6 @@ if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
PUMP=true
fi
-if [ "$2" = "boot" -a "${ONBOOT}" = "no" -o "${ONBOOT}" = "NO" ]; then
- # Probe module to preserve interface ordering.
- /sbin/ifconfig ${REALDEVICE} >/dev/null 2>&1
- exit
-fi
-
OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-${DEVICETYPE}"
if [ -x $OTHERSCRIPT ]; then