aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-post
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifdown-post')
-rwxr-xr-xsysconfig/network-scripts/ifdown-post15
1 files changed, 4 insertions, 11 deletions
diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post
index bf1c0c18..5df3f564 100755
--- a/sysconfig/network-scripts/ifdown-post
+++ b/sysconfig/network-scripts/ifdown-post
@@ -4,18 +4,11 @@
cd /etc/sysconfig/network-scripts
-# These are currently unused.
-# CONFIG=$1
-# . network-functions
-# source_config
+CONFIG=$1
+. network-functions
+source_config
# Notify programs that have requested notification
-( cd /var/run/netreport || exit
- for i in * ; do
- [ -f $i ] && \
- kill -SIGIO $i >/dev/null 2>&1 || \
- rm -f $i >/dev/null 2>&1
- done
-)
+do_netreport
exit 0