summaryrefslogtreecommitdiff
path: root/multimedia/ccxstream/files/ccxstream.sh
blob: 2db16e4fb287928ba8059454e29f7a802ca7d4c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: ccxstream.sh,v 1.1.1.1 2009/11/27 08:38:49 wiz Exp $
#
# PROVIDE: ccxstream
# REQUIRE: DAEMON network
# KEYWORD: shutdown

. /etc/rc.subr

name="ccxstream"
rcvar=$name
command="@PREFIX@/bin/ccxstream"
command_args="-r - -f"

if [ -f /etc/rc.subr ]; then
        load_rc_config $name
        run_rc_command "$1"
else
        echo -n "${name}"
        ${command} ${ccxstream_flags} ${command_args}
fi