ppp: synthesize a .device option to make ifup work on pppoa interfaces again

SVN-Revision: 25025
This commit is contained in:
Jo-Philipp Wich 2011-01-17 00:14:18 +00:00
parent bad3c4865d
commit 5cf136ae0e
2 changed files with 5 additions and 1 deletions

View 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/

View file

@ -1,3 +1,7 @@
scan_pppoa() {
config_set "$1" device "pppoa-$1"
}
coldplug_interface_pppoa() {
setup_interface_pppoa x "$1"
}