From d0ff6ce3b080400b6bf827180495473d778fc73e Mon Sep 17 00:00:00 2001 From: Manuel Reimer Date: Wed, 19 Feb 2014 17:27:20 +0100 Subject: Added X startup with default paramters --- runvdr | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runvdr') diff --git a/runvdr b/runvdr index 49f5745..1aafc43 100755 --- a/runvdr +++ b/runvdr @@ -696,7 +696,7 @@ function StartXServer() { SIG= wait $XSERVERPID - # If anything works as expected, we should have received SIGUSR1. + # If everything works as expected, we should have received SIGUSR1. if [ "$SIG" != "USR1" ]; then echo "Xserver startup failed with exit code $?!" >&2 exit 1 @@ -838,6 +838,9 @@ if [ "$DVBRESTART" != "0" ] ; then exit 0 fi +# Set default X server command if user set "XSERVER" to "1" +[ "$XSERVER" == "1" ] && XSERVER="/usr/bin/X -nolisten tcp -noreset" + # Build up VDR command BuildCommand || exit 1 -- cgit v1.2.3