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"