Changeset 28916


Ignore:
Timestamp:
2011-11-10T00:43:39+01:00 (6 years ago)
Author:
nico
Message:

packages/ptpd: use new service functions

Location:
packages/net/ptpd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/ptpd/Makefile

    r25862 r28916  
    1010PKG_NAME:=ptpd 
    1111PKG_VERSION:=2.1.0 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/ptpd/files/ptpd.init

    r19907 r28916  
    11#!/bin/sh /etc/rc.common 
     2# Copyright (C) 2011 OpenWrt.org 
    23 
    34START=50 
    45 
    56start() { 
    6         ptpd 
     7        service_start /usr/sbin/ptpd 
    78} 
    89 
    910stop() { 
    10         killall ptpd 
     11        service_stop /usr/sbin/ptpd 
    1112} 
Note: See TracChangeset for help on using the changeset viewer.