diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2018-05-24 16:06:03 +0200 |
---|---|---|
committer | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2018-05-30 14:33:04 +0200 |
commit | 9b2dbe00100d4e1077404b9d781f35adad979467 (patch) | |
tree | f623f5643b1634032ae774a23b95bd1a074f63cc /network-scripts/network-functions | |
parent | b4a33f400394b4f89bac723977f6f356252a3386 (diff) | |
download | initscripts-9b2dbe00100d4e1077404b9d781f35adad979467.tar initscripts-9b2dbe00100d4e1077404b9d781f35adad979467.tar.gz initscripts-9b2dbe00100d4e1077404b9d781f35adad979467.tar.bz2 initscripts-9b2dbe00100d4e1077404b9d781f35adad979467.tar.xz initscripts-9b2dbe00100d4e1077404b9d781f35adad979467.zip |
netreport functionality dropped
This concept is quite outdated, and not sane to use at all.
Diffstat (limited to 'network-scripts/network-functions')
-rw-r--r-- | network-scripts/network-functions | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/network-scripts/network-functions b/network-scripts/network-functions index c2756b19..a2382e33 100644 --- a/network-scripts/network-functions +++ b/network-scripts/network-functions @@ -278,24 +278,6 @@ toggle_value () echo '' fi } - -do_netreport () -{ - # Notify programs that have requested notification - ( - cd /run/netreport || exit - for i in * ; do - if [ -f $i ]; then - if [ "$(id -u)" = "0" ]; then - OWNER=$(stat -c %U $i) - su -s /bin/bash $OWNER -c "kill -SIGIO $i >/dev/null 2>&1 || rm -f $i >/dev/null 2>&1" > /dev/null 2>&1 - else - kill -SIGIO $i >/dev/null 2>&1 || rm -f $i >/dev/null 2>&1 - fi - fi - done - ) -} is_nm_running () { |