aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-03-03 21:09:18 +0000
committerBill Nottingham <notting@redhat.com>2005-03-03 21:09:18 +0000
commit178740d76e846a66e044dc270e881bd774b38fd2 (patch)
treea4c780fd5c54aeb3ddffdbd01a0ef27dde0be1de /sysconfig/network-scripts/ifup
parente2d4fb9de77b0e2f2dab503b58491ffb2fd04c36 (diff)
downloadinitscripts-178740d76e846a66e044dc270e881bd774b38fd2.tar
initscripts-178740d76e846a66e044dc270e881bd774b38fd2.tar.gz
initscripts-178740d76e846a66e044dc270e881bd774b38fd2.tar.bz2
initscripts-178740d76e846a66e044dc270e881bd774b38fd2.tar.xz
initscripts-178740d76e846a66e044dc270e881bd774b38fd2.zip
woops
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 57163f09..fc4d9a32 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -119,6 +119,15 @@ if [ -x /sbin/vconfig -a "${VLAN}" = "yes" ]; then
fi
fi
+# Old BOOTP variable
+if [ "${BOOTP}" = "yes" ]; then
+ BOOTPROTO=bootp
+fi
+
+if [ "${BOOTPROTO}" = "bootp" -o "${BOOTPROTO}" = "dhcp" ]; then
+ DYNCONFIG=true
+fi
+
if [ -x /sbin/ifup-pre-local ]; then
/sbin/ifup-pre-local ${CONFIG} $2
fi