aboutsummaryrefslogtreecommitdiffstats
path: root/NetworkManager
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-02-01 20:30:11 +0000
committerBill Nottingham <notting@redhat.com>2008-02-01 20:30:11 +0000
commit810bea627d425b2cf3fee592d8ac1045b5beb8b7 (patch)
tree93dafe103301f7987169a104ff0ea2a20934345b /NetworkManager
parentb84d25f8ab1b474ffd6b10dc8c59418c5c47a300 (diff)
downloadinitscripts-810bea627d425b2cf3fee592d8ac1045b5beb8b7.tar
initscripts-810bea627d425b2cf3fee592d8ac1045b5beb8b7.tar.gz
initscripts-810bea627d425b2cf3fee592d8ac1045b5beb8b7.tar.bz2
initscripts-810bea627d425b2cf3fee592d8ac1045b5beb8b7.tar.xz
initscripts-810bea627d425b2cf3fee592d8ac1045b5beb8b7.zip
add NetworkManager-dispatcher script to notify netreport apps (<linville@redhat.com>)
Diffstat (limited to 'NetworkManager')
-rwxr-xr-xNetworkManager/dispatcher.d/00-netreport11
1 files changed, 11 insertions, 0 deletions
diff --git a/NetworkManager/dispatcher.d/00-netreport b/NetworkManager/dispatcher.d/00-netreport
new file mode 100755
index 00000000..eee7fb38
--- /dev/null
+++ b/NetworkManager/dispatcher.d/00-netreport
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cd /etc/sysconfig/network-scripts
+. ./network-functions
+
+[ -f ../network ] && . ../network
+
+# Notify programs that have requested notification
+do_netreport
+
+exit 0