diff options
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 () { |