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
commitacf1577fbfedfae5a7fa3b1dc2fa4e50fa7731e5 (patch)
treeb11fd6a4b6aaefea736bae9d107f7e2ece5ec31a /package/ppp/files
parent54e97dad6709bb6efc4c380cf04c124556ab1591 (diff)
downloadupstream-acf1577fbfedfae5a7fa3b1dc2fa4e50fa7731e5.tar.gz
upstream-acf1577fbfedfae5a7fa3b1dc2fa4e50fa7731e5.tar.bz2
upstream-acf1577fbfedfae5a7fa3b1dc2fa4e50fa7731e5.zip
[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')
-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"
}