Add serial settings

This commit is contained in:
Dejvino 2021-04-04 22:47:36 +00:00
parent 65b09ac866
commit cc838e2224
2 changed files with 9 additions and 0 deletions

View File

@ -2,3 +2,11 @@
Internet radio daemon playing streams, controlled over serial commands. Internet radio daemon playing streams, controlled over serial commands.
## Install
Make the daemon run on reboot, e.g. via `crontab -e`
```
@reboot ~/festivald.sh > /tmp/festivald.log 2>&1
```

View File

@ -91,5 +91,6 @@ consume_events() {
done done
} }
stty -F $SERIAL 9600 cs8 -cstopb -parenb
cat $SERIAL | consume_events cat $SERIAL | consume_events