diff --git a/net/ptpd/Makefile b/net/ptpd/Makefile index 41816ce0d..50a768201 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 71b52215b..9cce55c35 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 }