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

packages/opennhrp: use new service functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.