aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1997-11-06 20:24:15 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1997-11-06 20:24:15 +0000
commit76b9c85768b2afdb146bcad72f120d4cd624b2f3 (patch)
tree86f555f0cfd87fdd18b3ad6c7d6d8763c3d2cbc4 /sysconfig/network-scripts/network-functions
parentededfe707d0ea05fbf6985997befdbbe4cbc5b18 (diff)
downloadinitscripts-76b9c85768b2afdb146bcad72f120d4cd624b2f3.tar
initscripts-76b9c85768b2afdb146bcad72f120d4cd624b2f3.tar.gz
initscripts-76b9c85768b2afdb146bcad72f120d4cd624b2f3.tar.bz2
initscripts-76b9c85768b2afdb146bcad72f120d4cd624b2f3.tar.xz
initscripts-76b9c85768b2afdb146bcad72f120d4cd624b2f3.zip
PPP debugging fixed.
PPP Persisting fixed. Moved netreport stuff into one place.
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index c45c8467..7e5947c5 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -16,3 +16,15 @@ source_config ()
. $PARENTCONFIG
fi
}
+
+do_netreport ()
+{
+ # 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
+ )
+}