From 5cf136ae0eed9dc82548f736b47e5d128c5f438e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 17 Jan 2011 00:14:18 +0000 Subject: [PATCH] ppp: synthesize a .device option to make ifup work on pppoa interfaces again SVN-Revision: 25025 --- package/ppp/Makefile | 2 +- package/ppp/files/pppoa.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package/ppp/Makefile b/package/ppp/Makefile index eae32d0439..5be8e7cce5 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 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" } -- 2.30.2