aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-12 20:23:08 +0000
committerBill Nottingham <notting@redhat.com>2001-03-12 20:23:08 +0000
commit929973a5fa342cfcfb285fa82610596000f3bc1f (patch)
tree685fe657a8f45c41a5315c27da1fde4fdedaec05 /sysconfig/network-scripts
parent9a3419f035493ae203229cec60aebe7f9221d483 (diff)
downloadinitscripts-929973a5fa342cfcfb285fa82610596000f3bc1f.tar
initscripts-929973a5fa342cfcfb285fa82610596000f3bc1f.tar.gz
initscripts-929973a5fa342cfcfb285fa82610596000f3bc1f.tar.bz2
initscripts-929973a5fa342cfcfb285fa82610596000f3bc1f.tar.xz
initscripts-929973a5fa342cfcfb285fa82610596000f3bc1f.zip
add ifdown-pre-local (#10936)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index 9aacb926..f8070dba 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -31,6 +31,10 @@ fi
source_config
+if [ -x /sbin/ifdown-pre-local ]; then
+ /sbin/ifdown-pre-local ${DEVICE}
+fi
+
DEVICETYPE=`echo $DEVICE | sed "s/[0-9]*$//"`
OTHERSCRIPT="/etc/sysconfig/network-scripts/ifdown-${DEVICETYPE}"