mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-02 21:10:38 +02:00
[package] pptp: support interface sections without ifname by implementing scan_pptp()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21590 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b4aff29b8f
commit
76e0410756
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=pptp
|
PKG_NAME:=pptp
|
||||||
PKG_VERSION:=1.7.1
|
PKG_VERSION:=1.7.1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/pptpclient
|
PKG_SOURCE_URL:=@SF/pptpclient
|
||||||
|
@ -2,6 +2,10 @@ find_gw() {
|
|||||||
route -n | awk '$1 == "0.0.0.0" { print $2; exit }'
|
route -n | awk '$1 == "0.0.0.0" { print $2; exit }'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
scan_pptp() {
|
||||||
|
config_set "$1" device "pptp-$1"
|
||||||
|
}
|
||||||
|
|
||||||
stop_interface_pptp() {
|
stop_interface_pptp() {
|
||||||
stop_interface_ppp "$1"
|
stop_interface_ppp "$1"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user