1 stop_interface_pppoa
() {
2 stop_interface_ppp
"$1"
5 setup_interface_pppoa
() {
10 config_get device
"$config" device
13 config_get vpi
"$config" vpi
16 config_get vci
"$config" vci
18 for module
in slhc ppp_generic pppoatm
; do
19 /sbin
/insmod
$module 2>&- >&-
23 config_get encaps
"$config" encaps
26 1|vc
) encaps
="vc-encaps" ;;
27 *) encaps
="llc-encaps" ;;
31 config_get mtu
"$config" mtu
34 start_pppd
"$config" \
35 plugin pppoatm.so
${vpi:-8}.${vci:-35} ${encaps} \
This page took 0.049736 seconds and 5 git commands to generate.