copystation fix starting screen session

This commit is contained in:
Christian Rotzoll 2019-05-19 02:06:34 +02:00
parent 00fe79e92e
commit 0585c91f0a

View File

@ -42,7 +42,7 @@ 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 -dR /home/admin/XXcopyStation.sh -foreground
exit 0
else
echo "changing into running copystation screen session"