From: Jo-Philipp Wich Date: Mon, 17 Jan 2011 00:14:18 +0000 (+0000) Subject: ppp: synthesize a .device option to make ifup work on pppoa interfaces again X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5cf136ae0eed9dc82548f736b47e5d128c5f438e;p=openwrt%2Fstaging%2Frmilecki.git ppp: synthesize a .device option to make ifup work on pppoa interfaces again SVN-Revision: 25025 --- diff --git a/package/ppp/Makefile b/package/ppp/Makefile index eae32d0439a..5be8e7cce5d 100644 --- a/package/ppp/Makefile +++ b/package/ppp/Makefile @@ -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/ diff --git a/package/ppp/files/pppoa.sh b/package/ppp/files/pppoa.sh index df947aa83d3..c64e809de38 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" }