aboutsummaryrefslogtreecommitdiffstats
path: root/ppp/ip-down
blob: 70f1aa8fc17aa45e5e6e0c2ec3b88ec951be4f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# This file should not be modified -- make local changes to
# /etc/ppp/ip-down.local instead

LOGDEVICE=$6
REALDEVICE=$1

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

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

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

exit 0