Redirect output to /dev/ttyS0

This commit is contained in:
Kroese 2023-04-17 15:20:18 +02:00 committed by GitHub
parent e4d29321d4
commit 3e73d47a65

View File

@ -17,7 +17,7 @@ start() {
fi fi
printf 'Starting agent service...' >&2 printf 'Starting agent service...' >&2
chmod 666 /dev/ttyS0 chmod 666 /dev/ttyS0
"$SCRIPT" &> /dev/ttyS0 & echo $! > "$PIDFILE" "$SCRIPT" &> /dev/ttyS0 & echo $! > "$PIDFILE"
} }
stop() { stop() {