This commit is contained in:
Kroese 2023-04-18 17:31:47 +02:00 committed by GitHub
parent 704a605958
commit 401201217b

View File

@ -16,7 +16,7 @@ start() {
echo 'Service already running'
return 1
fi
echo "agent" > /var/lock/subsys/agent.sh
echo "-" > /var/lock/subsys/agent.sh
echo 'Starting agent service...'
chmod 666 /dev/ttyS0
"$SCRIPT" &> /dev/ttyS0 & echo $! > "$PIDFILE"