aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-07-25 04:41:21 +0000
committerBill Nottingham <notting@redhat.com>2000-07-25 04:41:21 +0000
commit6f4831def652759ede8fbcb69e08ccf813b92df2 (patch)
tree3aeccf4d634302959a59cc62d6347f28fa126bb7
parente0ab038243d09f66f1fedf4c0b3ad6a2135476d2 (diff)
downloadinitscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.tar
initscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.tar.gz
initscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.tar.bz2
initscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.tar.xz
initscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.zip
run an ifup-pre-local script if it exists
-rwxr-xr-xsysconfig/network-scripts/ifup4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index e466f360..d38ff995 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -55,6 +55,10 @@ if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
DYNCONFIG=true
fi
+if [ -x /sbin/ifup-pre-local ]; then
+ /sbin/ifup-pre-local ${DEVICE}
+fi
+
OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-${DEVICETYPE}"
if [ -x $OTHERSCRIPT ]; then