From: Nicolas Thill Date: Wed, 9 Nov 2011 23:43:39 +0000 (+0000) Subject: packages/ptpd: use new service functions X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=936a8e3c36afae4cde8073cbe65356817ced0b27 packages/ptpd: use new service functions SVN-Revision: 28916 --- diff --git a/net/ptpd/Makefile b/net/ptpd/Makefile index 41816ce0d1..50a7682019 100644 --- a/net/ptpd/Makefile +++ b/net/ptpd/Makefile @@ -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 diff --git a/net/ptpd/files/ptpd.init b/net/ptpd/files/ptpd.init index 71b52215b1..9cce55c356 100644 --- a/net/ptpd/files/ptpd.init +++ b/net/ptpd/files/ptpd.init @@ -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 }