packages/net/baresip/files/baresip.init
nico 3711b2a6b3 packages/baresip: update to 0.3.0 (thanks to Alfred E. Heggestad), make it modular, use start-stop-daemon
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-04 22:12:41 +00:00

18 lines
244 B
Bash

#!/bin/sh /etc/rc.common
#
# Copyright (C) 2010-2011 OpenWrt.org
# Copyright (C) 2010 Alfred E. Heggestad
#
START=92
BIN=baresip
OPTIONS=-d
start() {
start-stop-daemon -S -q -x $BIN -- $OPTIONS
}
stop() {
start-stop-daemon -K -q -x $BIN
}