From b6e32f4a5808ab79e81ea35fd0f05d48c10636a0 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 17 Jan 2011 00:14:18 +0000 Subject: [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 --- package/ppp/Makefile | 2 +- package/ppp/files/pppoa.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'package/ppp') diff --git a/package/ppp/Makefile b/package/ppp/Makefile index eae32d043..5be8e7cce 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 df947aa83..c64e809de 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" } -- cgit v1.2.3