3 #Uncomment the line below to begin (mandatory)
6 #Below the user to run the service as (mandatory)
9 #Below the password on the XBOX (optional)
10 #REMOTEPASS="xboxpassword"
12 #Below the interface to listen on (mandatory)
13 LISTENINTERFACE
="192.168.2.1"
18 SERVERCOMMENT
="ccXstream server. Powered by ArchLinux!"
20 #Shares to make available (mandatory)
21 SHARES
="share1=/path/to/share1 share2=/path/to/share2"
23 #Location of binary file. Leave default unless you know what you're doing (mandatory)
24 BIN
="/usr/bin/ccxstream"
26 #-----------------------------------------------------------------------------#
27 #-----------------------------------------------------------------------------#
31 PIDFILE
=/var
/run
/ccxstream.pid
33 PARAMS
="-f -F $PIDFILE -r $DIR -u $RUNASUSER"
35 if test "$FOLLOWSYMLINKS" == "YES" ; then
39 if test "x$REMOTEPASS" != "x" ; then
40 PARAMS
="$PARAMS -P $REMOTEPASS"
43 if test "x$LISTENINTERFACE" != "x" ; then
44 PARAMS
="$PARAMS -l $LISTENINTERFACE"
48 PARAMS
="$PARAMS -S $i"
51 if test "x$SERVERCOMMENT" = "x" ; then
52 SERVERCOMMENT
="`hostname`"