28e237b85f82516cfa204cff899841c4a007e6a8
[openwrt.git] / package / ppp / files / pppoa.sh
1 scan_pppoa() {
2 scan_ppp "$@"
3 }
4
5 setup_interface_pppoa() {
6 local iface="$1"
7 local config="$2"
8
9 config_get device "$config" device
10 config_get vpi "$config" vpi
11 config_get vci "$config" vci
12
13 for module in slhc ppp_generic pppoatm; do
14 /sbin/insmod $module 2>&- >&-
15 done
16
17 config_get mtu "$cfg" mtu
18 mtu=${mtu:-1492}
19 start_pppd "$config" \
20 plugin pppoatm.so ${vpi:-8}.${vci:-35} \
21 mtu $mtu mru $mtu
22 }
This page took 0.052496 seconds and 3 git commands to generate.