diff options
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 12 |
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 + ) +} |