summaryrefslogtreecommitdiff
path: root/runvdr
diff options
context:
space:
mode:
authorManuel Reimer <manuel.reimer@gmx.de>2014-02-19 17:27:20 +0100
committerManuel Reimer <manuel.reimer@gmx.de>2014-02-19 17:27:20 +0100
commitd0ff6ce3b080400b6bf827180495473d778fc73e (patch)
tree42d6f30ff1a8da856592a07aec0a347ae43866f8 /runvdr
parent03282468b5f42dabb58142f239637df80c8f8f61 (diff)
downloadrunvdr-extreme-noxinit.tar.gz
runvdr-extreme-noxinit.tar.bz2
Added X startup with default paramtersnoxinit
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