You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
386 B
19 lines
386 B
2 years ago
|
#!/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
|
||
|
|
||
|
/etc/ppp/ip-down.ipv6to4 ${LOGDEVICE}
|
||
|
|
||
|
[ -x /etc/ppp/ip-down.local ] && /etc/ppp/ip-down.local "$@"
|
||
|
|
||
|
/etc/sysconfig/network-scripts/ifdown-post --realdevice ${REALDEVICE} \
|
||
|
ifcfg-${LOGDEVICE}
|
||
|
|
||
|
exit 0
|