projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ppp: synthesize a .device option to make ifup work on pppoa interfaces again
[oweals/openwrt.git]
/
package
/
ppp
/
files
/
pppoa.sh
diff --git
a/package/ppp/files/pppoa.sh
b/package/ppp/files/pppoa.sh
index df947aa83d3a4ecb654f20c0b7af007a8dab8da2..c64e809de389b6dad17b9f0dbad98b99dbfb5d51 100644
(file)
--- a/
package/ppp/files/pppoa.sh
+++ b/
package/ppp/files/pppoa.sh
@@
-1,3
+1,7
@@
+scan_pppoa() {
+ config_set "$1" device "pppoa-$1"
+}
+
coldplug_interface_pppoa() {
setup_interface_pppoa x "$1"
}