Ignore:
Timestamp:
2011-11-16T10:44:09+01:00 (4 years ago)
Author:
nico
Message:

packages/baresip: use new service functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/baresip/files/baresip.init

    r28756 r29171  
    11#!/bin/sh /etc/rc.common 
    2 # 
    32# Copyright (C) 2010-2011 OpenWrt.org 
    43# Copyright (C) 2010 Alfred E. Heggestad 
     
    65 
    76START=92 
    8 BIN=baresip 
    9 OPTIONS=-d 
    107 
    118start() { 
    12         start-stop-daemon -S -q -x $BIN -- $OPTIONS 
     9        service_start /usr/bin/baresip -d 
    1310} 
    1411 
    1512stop() { 
    16         start-stop-daemon -K -q -x $BIN 
     13        service_stop /usr/bin/baresip 
    1714} 
Note: See TracChangeset for help on using the changeset viewer.