aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-post
blob: 5ef7c29348d1fd4c529d379b7362e7aa742e4a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# This should be called whenever an interface goes down, not just when
# it is brought down explicitly.

cd /etc/sysconfig/network-scripts
. network-functions

CONFIG=$1
source_config

# Notify programs that have requested notification
do_netreport

exit 0