]> git.pld-linux.org Git - projects/rc-scripts.git/blame - sysconfig/network-scripts/ifdown-post
- merge my private tree
[projects/rc-scripts.git] / sysconfig / network-scripts / ifdown-post
CommitLineData
d29c401a 1#!/bin/sh
b0443108 2#
7824432b 3# $Id: ifdown-post,v 1.10.2.2 2001/09/30 10:19:42 misiek Exp $
b0443108 4#
7742e157
AF
5# This should be called whenever an interface goes down, not just when
6# it is brought down explicitly.
7
7742e157 8CONFIG=$1
f3002e12
JK
9. /etc/sysconfig/network
10. /etc/rc.d/init.d/functions
7824432b 11. /etc/sysconfig/network-scripts/functions.network
8b3e2b71 12
7742e157
AF
13source_config
14
a04d924e
AM
15# set all major variables
16setup_ip_param
17
18# set REALDEVICE
19get_ppp_device_and_pid
97c76ad5 20
a04d924e
AM
21# Delete root queueing discipline
22if [ -n "$QDISC" ]; then
23 tc qdisc del dev "$REALDEVICE" root $QDISC
24fi
97c76ad5 25
7742e157
AF
26# Notify programs that have requested notification
27do_netreport
28
29exit 0
a04d924e
AM
30
31# This must be last line !
32# vi:syntax=sh:tw=78:ts=8:sw=4
33
This page took 0.101949 seconds and 4 git commands to generate.