5 setup_interface_pppoa
() {
9 config_get device
"$config" device
10 config_get vpi
"$config" vpi
11 config_get vci
"$config" vci
13 for module
in slhc ppp_generic pppoatm
; do
14 /sbin
/insmod
$module 2>&- >&-
17 config_get encaps
"$config" encaps
19 1|vc
) ENCAPS
="vc-encaps" ;;
20 *) ENCAPS
="llc-encaps" ;;
23 config_get mtu
"$cfg" mtu
25 start_pppd
"$config" \
26 plugin pppoatm.so
${vpi:-8}.${vci:-35} ${ENCAPS} \
This page took 0.044331 seconds and 5 git commands to generate.