mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
parent
8d66465b08
commit
63820327d3
@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
|||||||
|
|
||||||
PKG_NAME:=ppp
|
PKG_NAME:=ppp
|
||||||
PKG_VERSION:=2.4.5
|
PKG_VERSION:=2.4.5
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
|
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
|
||||||
|
@ -33,7 +33,7 @@ start_pppd() {
|
|||||||
# make sure only one pppd process is started
|
# make sure only one pppd process is started
|
||||||
lock "/var/lock/ppp-${link}"
|
lock "/var/lock/ppp-${link}"
|
||||||
SERVICE_PID_FILE="/var/run/ppp-${link}.pid" \
|
SERVICE_PID_FILE="/var/run/ppp-${link}.pid" \
|
||||||
service_check /usr/sbin/ppd && {
|
service_check /usr/sbin/pppd && {
|
||||||
lock -u "/var/lock/ppp-${link}"
|
lock -u "/var/lock/ppp-${link}"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user