packages/net/baresip/files/baresip.init
dingo 37cc341dbd [patch-team] new packages - restund, baresip, re Open-Source VoIP project - Signed-Off-By: Alfred E. Heggestad <aeh@db.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 13:31:44 +00:00

20 lines
233 B
Bash

#!/bin/sh /etc/rc.common
#
# Copyright (C) 2010 Alfred E. Heggestad
#
START=92
BIN=baresip
DEFAULT=/etc/default/$BIN
OPTIONS=-d
start() {
[ -f $DEFAULT ] && . $DEFAULT
$BIN $OPTIONS
}
stop() {
killall $BIN
}