Changeset 28914


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

packages/opennhrp: use new service functions

Location:
packages/net/opennhrp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/opennhrp/Makefile

    r28324 r28914  
    11# 
    2 # Copyright (C) 2009-2010 OpenWrt.org 
     2# Copyright (C) 2009-2011 OpenWrt.org 
    33# Copyright (C) 2009 Jakob Pfeiffer 
    44# 
     
    1111PKG_NAME:=opennhrp 
    1212PKG_VERSION:=0.12.3 
    13 PKG_RELEASE:=1 
     13PKG_RELEASE:=2 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
  • packages/net/opennhrp/files/opennhrp.init

    r18959 r28914  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2009 OpenWrt.org 
    3 START=50 
     2# Copyright (C) 2009-2011 OpenWrt.org 
    43# Copyright (C) 2009 Jakob Pfeiffer 
    54 
     5START=50 
     6 
     7SERVICE_USE_PID=1 
     8 
    69start() { 
    7         /usr/sbin/opennhrp -d 
     10        service_start /usr/sbin/opennhrp -d 
    811} 
    912 
    1013stop() { 
    11         killall opennhrp 
     14        service_stop /usr/sbin/opennhrp 
    1215} 
    13  
Note: See TracChangeset for help on using the changeset viewer.