[package] ppp: synthesize a .device option to make ifup work on pppoa interfaces...
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 17 Jan 2011 00:14:18 +0000 (00:14 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 17 Jan 2011 00:14:18 +0000 (00:14 +0000)
SVN-Revision: 25025

package/ppp/Makefile
package/ppp/files/pppoa.sh

index eae32d0..5be8e7c 100644 (file)
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=ppp
 PKG_VERSION:=2.4.4
-PKG_RELEASE:=13
+PKG_RELEASE:=14
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
index df947aa..c64e809 100644 (file)
@@ -1,3 +1,7 @@
+scan_pppoa() {
+       config_set "$1" device "pppoa-$1"
+}
+
 coldplug_interface_pppoa() {
        setup_interface_pppoa x "$1"
 }