2 [ $# = 0 ] && { echo " $0 <group>"; exit; }
6 eval "proto=\"\${${type}_proto}\""
7 [ "$proto" = "pppoe" ] ||
{
8 echo "$0: ${type}_proto isn't pppoe"
14 for module
in slhc ppp_generic pppox pppoe
; do
15 /sbin
/insmod
$module 2>&- >&-
18 eval "IFNAME=\"\${${type}_device}\""
19 KEEPALIVE
=${ppp_redialperiod:+lcp-echo-interval $ppp_redialperiod lcp-echo-failure 5}
22 DEMAND
=${ppp_idletime:+demand idle $ppp_idletime}
23 [ -f /etc
/ppp
/filter
] && DEMAND
=${DEMAND:+precompiled-active-filter /etc/ppp/filter $DEMAND}
37 user
"$ppp_username" \
38 password
"$ppp_passwd" \