aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-post
blob: 5df3f5647e2a8ff4e9d33e17b9f3d199f61e2fc3 (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

CONFIG=$1
. network-functions
source_config

# Notify programs that have requested notification
do_netreport

exit 0