packages/baresip: update to 0.3.0 (thanks to Alfred E. Heggestad), make it modular...
[packages.git] / net / baresip / files / baresip.init
1 #!/bin/sh /etc/rc.common
2 #
3 # Copyright (C) 2010-2011 OpenWrt.org
4 # Copyright (C) 2010 Alfred E. Heggestad
5 #
6
7 START=92
8 BIN=baresip
9 OPTIONS=-d
10
11 start() {
12         start-stop-daemon -S -q -x $BIN -- $OPTIONS
13 }
14
15 stop() {
16         start-stop-daemon -K -q -x $BIN
17 }