packages/ptpd: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28916 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
31f6bdb615
commit
da545dff4e
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ptpd
|
||||
PKG_VERSION:=2.1.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/ptpd
|
||||
|
@ -1,11 +1,12 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2011 OpenWrt.org
|
||||
|
||||
START=50
|
||||
|
||||
start() {
|
||||
ptpd
|
||||
service_start /usr/sbin/ptpd
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall ptpd
|
||||
service_stop /usr/sbin/ptpd
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user