summaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-10-10 15:08:04 +0000
committerBill Nottingham <notting@redhat.com>2003-10-10 15:08:04 +0000
commitd24c7acf6027d7539559a05ed9cc0ae7017ddc45 (patch)
treeeb2dafe2876ba1e6797e313bfe6eea30c487f43a /sysconfig/network-scripts/ifdown
parentd0f96b547502b011c7867d7c0dcd8c2f42e96a1d (diff)
downloadinitscripts-d24c7acf6027d7539559a05ed9cc0ae7017ddc45.tar.gz
initscripts-d24c7acf6027d7539559a05ed9cc0ae7017ddc45.tar.xz
initscripts-d24c7acf6027d7539559a05ed9cc0ae7017ddc45.zip
bridging updates (#104421, <dwmw2@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-xsysconfig/network-scripts/ifdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index dafc25fe..d5d23c20 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -47,6 +47,9 @@ fi
if [ -n "${BRIDGE}" -a -x /usr/sbin/brctl ]; then
/sbin/ip link set dev ${DEVICE} down
/usr/sbin/brctl delif ${BRIDGE} ${DEVICE}
+ # Upon removing a device from a bridge,
+ # it's necessary to make radvd reload its config
+ [ -r /var/run/radvd/radvd.pid ] && kill -HUP `cat /var/run/radvd/radvd.pid`
exit 0
fi