/[baselayout]/trunk/net.Linux/pppd.sh
Gentoo

Diff of /trunk/net.Linux/pppd.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2629 Revision 2631
15requote() { 15requote() {
16 printf "'%s' " "$@" 16 printf "'%s' " "$@"
17} 17}
18 18
19pppd_pre_start() { 19pppd_pre_start() {
20 ${IN_BACKGROUND} && return 0
21
22 # Interface has to be called ppp 20 # Interface has to be called ppp
23 [ "${IFACE%%[0-9]*}" = "ppp" ] || return 0 21 [ "${IFACE%%[0-9]*}" = "ppp" ] || return 0
22
23 if ${IN_BACKGROUND} ; then
24 local config=
25 eval config=\$config_${IFVAR}
26 # If no config for ppp then don't default to DHCP
27 if [ -z "${config}" ] ; then
28 eval config_${IFVAR}=\"null\"
29 fi
30 return 0
31 fi
24 32
25 local link= i= opts= unit="${IFACE#ppp}" mtu= 33 local link= i= opts= unit="${IFACE#ppp}" mtu=
26 34
27 # PPP requires a link to communicate over - normally a serial port 35 # PPP requires a link to communicate over - normally a serial port
28 # PPPoE communicates over Ethernet 36 # PPPoE communicates over Ethernet

Legend:
Removed from v.2629  
changed lines
  Added in v.2631

  ViewVC Help
Powered by ViewVC 1.1.20