diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-05-28 00:30:09 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-05-28 00:30:09 +0000 |
commit | 090680f083380a3ff7aa32991399db27d0393b81 (patch) | |
tree | bb4027c10ad78d6cc21d19c9dbb3e679202785d7 /package/pptp | |
parent | 278589f5d70dbe790d31cb5015d3723daa739941 (diff) | |
download | mtk-20170518-090680f083380a3ff7aa32991399db27d0393b81.zip mtk-20170518-090680f083380a3ff7aa32991399db27d0393b81.tar.gz mtk-20170518-090680f083380a3ff7aa32991399db27d0393b81.tar.bz2 |
pptp: support interface sections without ifname by implementing scan_pptp()
SVN-Revision: 21590
Diffstat (limited to 'package/pptp')
-rw-r--r-- | package/pptp/Makefile | 2 | ||||
-rw-r--r-- | package/pptp/files/pptp.sh | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/package/pptp/Makefile b/package/pptp/Makefile index 018e9b5..a55309b 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 c95895d..436bee3 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" } |