packages/ptpd: use new service functions
[openwrt/svn-archive/archive.git] / net / ptpd / files / ptpd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2011 OpenWrt.org
3
4 START=50
5
6 start() {
7 service_start /usr/sbin/ptpd
8 }
9
10 stop() {
11 service_stop /usr/sbin/ptpd
12 }