From 76b9c85768b2afdb146bcad72f120d4cd624b2f3 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Thu, 6 Nov 1997 20:24:15 +0000 Subject: PPP debugging fixed. PPP Persisting fixed. Moved netreport stuff into one place. --- sysconfig/network-scripts/network-functions | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sysconfig/network-scripts/network-functions') 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 + ) +} -- cgit v1.2.1