aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-17 00:14:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-17 00:14:18 +0000
commit5cf136ae0eed9dc82548f736b47e5d128c5f438e (patch)
tree68ff80f541e175e01431b48d407575716807fab7 /package/ppp/files
parentbad3c4865d0302a10266105bac43af44dd926382 (diff)
downloadupstream-5cf136ae0eed9dc82548f736b47e5d128c5f438e.tar.gz
upstream-5cf136ae0eed9dc82548f736b47e5d128c5f438e.tar.bz2
upstream-5cf136ae0eed9dc82548f736b47e5d128c5f438e.zip
ppp: synthesize a .device option to make ifup work on pppoa interfaces again
SVN-Revision: 25025
Diffstat (limited to 'package/ppp/files')
-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"
}