summaryrefslogtreecommitdiff
path: root/package/ppp/files/pppoa.sh
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-17 00:14:18 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-17 00:14:18 +0000
commitb6e32f4a5808ab79e81ea35fd0f05d48c10636a0 (patch)
treeb11fd6a4b6aaefea736bae9d107f7e2ece5ec31a /package/ppp/files/pppoa.sh
parent1630b3829de9aa869992aa747c28d65a2fca31c2 (diff)
[package] ppp: synthesize a .device option to make ifup work on pppoa interfaces again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25025 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/files/pppoa.sh')
-rw-r--r--package/ppp/files/pppoa.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ppp/files/pppoa.sh b/package/ppp/files/pppoa.sh
index df947aa83d..c64e809de3 100644
--- 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"
}