projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mac80211: merge some further fixes to the queue stop patch
[oweals/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
for module in slhc ppp_generic pppox pppoe; do
10
/sbin/insmod $module 2>&- >&-
11
done
12
13
config_get mtu "$config" mtu
14
mtu=${mtu:-1492}
15
start_pppd "$config" \
16
plugin rp-pppoe.so \
17
mtu $mtu mru $mtu \
18
"nic-$iface"
19
}