projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211: b43: Expose PIO mode fallback
[openwrt.git]
/
package
/
ppp
/
files
/
pppoa.sh
diff --git
a/package/ppp/files/pppoa.sh
b/package/ppp/files/pppoa.sh
index
59e35c2
..
dbb6eb0
100644
(file)
--- a/
package/ppp/files/pppoa.sh
+++ b/
package/ppp/files/pppoa.sh
@@
-1,5
+1,5
@@
-
coldplug_interface
_pppoa() {
-
setup_interface_pppoa x "
$1"
+
scan
_pppoa() {
+
config_set "$1" device "pppoa-
$1"
}
stop_interface_pppoa() {
}
stop_interface_pppoa() {
@@
-9,8
+9,8
@@
stop_interface_pppoa() {
setup_interface_pppoa() {
local config="$2"
setup_interface_pppoa() {
local config="$2"
- local
device
- config_get
device "$config" device
+ local
atmdev
+ config_get
atmdev "$config" atmdev
local vpi
config_get vpi "$config" vpi
local vpi
config_get vpi "$config" vpi
@@
-34,6
+34,6
@@
setup_interface_pppoa() {
config_get mtu "$config" mtu
start_pppd "$config" \
config_get mtu "$config" mtu
start_pppd "$config" \
- plugin pppoatm.so ${
device:+$device
.}${vpi:-8}.${vci:-35} \
+ plugin pppoatm.so ${
atmdev:+$atmdev
.}${vpi:-8}.${vci:-35} \
${encaps} ${mtu:+mtu $mtu mru $mtu}
}
${encaps} ${mtu:+mtu $mtu mru $mtu}
}
This page took
0.025563 seconds
and
4
git commands to generate.