blob: 4ae2b8c00d38cf20d2a41f03c08efb5f54901c7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
# This file should not be modified -- make local changes to
# /etc/ppp/ip-up.local instead
PATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATH
LOGDEVICE=$6
REALDEVICE=$1
NETWORKDIR=/etc/sysconfig/network-scripts
# get Alias name of device
[ -f /etc/ppp/$LOGDEVICE ] && . /etc/ppp/$LOGDEVICE
[ -f $NETWORKDIR/${NICKNAME} ] && $NETWORKDIR/ifup-post ${NICKNAME}
[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@"
exit 0
|