aboutsummaryrefslogtreecommitdiffstats
path: root/ppp/ip-down
blob: 3c86f2a61a0e21fd35f5e7bf8f44df57d63ebba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# This file should not be modified -- make local changes to
# /etc/ppp/ip-down.local instead

PATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATH

LOGDEVICE=$6
REALDEVICE=$1

[ -x /etc/ppp/ip-down.local ] && /etc/ppp/ip-down.local "$@"

/etc/sysconfig/network-scripts/ifdown-post ifcfg-${LOGDEVICE}

exit 0