From: Jo-Philipp Wich Date: Fri, 28 May 2010 00:30:09 +0000 (+0000) Subject: [package] pptp: support interface sections without ifname by implementing scan_pptp() X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=9852cebbe9af209bf5afd0e0f328d0693d9ee816 [package] pptp: support interface sections without ifname by implementing scan_pptp() SVN-Revision: 21590 --- diff --git a/package/pptp/Makefile b/package/pptp/Makefile index 018e9b570e..a55309bf51 100644 --- a/package/pptp/Makefile +++ b/package/pptp/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pptp PKG_VERSION:=1.7.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/pptpclient diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh index c95895d9fa..436bee3c87 100644 --- a/package/pptp/files/pptp.sh +++ b/package/pptp/files/pptp.sh @@ -2,6 +2,10 @@ find_gw() { route -n | awk '$1 == "0.0.0.0" { print $2; exit }' } +scan_pptp() { + config_set "$1" device "pptp-$1" +} + stop_interface_pptp() { stop_interface_ppp "$1" }