- cleanup startscript
This commit is contained in:
Stephan Raue 2009-10-03 22:46:47 +02:00
parent ef4cdb1dd1
commit cf0a798b42

14
packages/python/multimedia/moovida/xinitrc.d/99_moovida Normal file → Executable file
View File

@ -9,22 +9,18 @@
. /etc/sysconfig
args=""
args="-f -n -t"
if /usr/bin/test "${MOOVIDA_DEBUG}" = "yes" ; then
args="${args} MOOVIDA_DEBUG=*:5"
if /usr/bin/test "${DEBUG}" = "yes" ; then
args="${args} ELISA_DEBUG=*:5"
args="${args} GST_DEBUG_NO_COLOR=1"
args="${args} GST_DEBUG=*:5"
args="${args} GST_DEBUG=GST_ELEMENT_FACTORY:3"
args="${args} -l"
fi
if /usr/bin/test "${MOOVIDA_FULLSCREEN}" = "yes" ; then
args="${args} -f -n -t"
fi
if /usr/bin/test "${MOOVIDA_DEBUG}" = "yes" ; then
/usr/bin/elisa ${args} 2> $MOOVIDA_LOGFILE
if /usr/bin/test "${DEBUG}" = "yes" ; then
/usr/bin/elisa ${args} 2> /var/log/moovida.log
else
/usr/bin/elisa ${args} > /dev/null 2>&1
fi