From 4f8ac368dbead32aaa30684c29df3afa0a8ba17f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 11 Aug 2014 05:47:10 +0200 Subject: add fork_for_safety option + beginning of kernel-based keyboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test.d/mdsinitrc | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'test.d/mdsinitrc') diff --git a/test.d/mdsinitrc b/test.d/mdsinitrc index d809c24..ee5bb60 100755 --- a/test.d/mdsinitrc +++ b/test.d/mdsinitrc @@ -30,14 +30,20 @@ g= if [ -z "${NO_VALGRIND}" ]; then g="valgrind --leak-check=full --show-leak-kinds=all" fi -$g mds-respawn --interval=10 \ - { sleep 4s } \ - { sleep 1m } \ - { $g mds-echo } \ - & -if which terminator 2>/dev/null >&2; then - exec terminator +if [ -z "${MDS_TEST}" ]; then + $g mds-respawn --interval=10 \ + { sleep 4s } \ + { sleep 1m } \ + { $g mds-echo } \ + & + if which terminator 2>/dev/null >&2; then + exec terminator + else + exec xterm + fi +elif [ "${MDS_TEST}" = kkbd ]; then + exec $g mds-kkbd else - exec xterm + echo 'Bad value of ${MDS_TEST}' fi -- cgit v1.2.3-70-g09d2