diff options
author | Manuel Reimer <manuel.reimer@gmx.de> | 2014-02-19 17:27:20 +0100 |
---|---|---|
committer | Manuel Reimer <manuel.reimer@gmx.de> | 2014-02-19 17:27:20 +0100 |
commit | d0ff6ce3b080400b6bf827180495473d778fc73e (patch) | |
tree | 42d6f30ff1a8da856592a07aec0a347ae43866f8 /runvdr | |
parent | 03282468b5f42dabb58142f239637df80c8f8f61 (diff) | |
download | runvdr-extreme-noxinit.tar.gz runvdr-extreme-noxinit.tar.bz2 |
Added X startup with default paramtersnoxinit
Diffstat (limited to 'runvdr')
-rwxr-xr-x | runvdr | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |