summaryrefslogtreecommitdiff
path: root/runvdr
diff options
context:
space:
mode:
Diffstat (limited to 'runvdr')
-rwxr-xr-xrunvdr5
1 files changed, 4 insertions, 1 deletions
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