projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
86bddddf59d33bfa119a842c0c349ec6b345c3cc
[openwrt.git]
/
package
/
ppp
/
files
/
pppoe.sh
1
scan_pppoe() {
2
scan_ppp "$@"
3
}
4
5
setup_interface_pppoe() {
6
local iface="$1"
7
local config="$2"
8
9
config_get device "$config" device
10
11
for module in slhc ppp_generic pppox pppoe; do
12
/sbin/insmod $module 2>&- >&-
13
done
14
15
config_get mtu "$cfg" mtu
16
mtu=${mtu:-1492}
17
start_pppd "$config" \
18
plugin rp-pppoe.so \
19
mtu $mtu mru $mtu \
20
"nic-$device"
21
}