diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-17 00:14:18 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-17 00:14:18 +0000 |
commit | b6e32f4a5808ab79e81ea35fd0f05d48c10636a0 (patch) | |
tree | b11fd6a4b6aaefea736bae9d107f7e2ece5ec31a | |
parent | 1630b3829de9aa869992aa747c28d65a2fca31c2 (diff) |
[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
-rw-r--r-- | package/ppp/Makefile | 2 | ||||
-rw-r--r-- | package/ppp/files/pppoa.sh | 4 |
2 files changed, 5 insertions, 1 deletions
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" } |