From 71f2aea3c69a57ac939224ad99f48766f2431238 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Sun, 19 May 2019 02:06:53 +0200 Subject: [PATCH] copystation fix starting screen session --- home.admin/XXcopyStation.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home.admin/XXcopyStation.sh b/home.admin/XXcopyStation.sh index d2cd7d3..30897e9 100755 --- a/home.admin/XXcopyStation.sh +++ b/home.admin/XXcopyStation.sh @@ -42,7 +42,8 @@ if [ "$1" != "-foreground" ]; then if [ ${#screenPID} -eq 0 ]; then # start copystation in sreen echo "starting copystation screen session" - screen -S copystation -dR /home/admin/XXcopyStation.sh -foreground + screen -S copystation -dm /home/admin/XXcopyStation.sh -foreground + screen -d -r exit 0 else echo "changing into running copystation screen session"