Browse Source

Add serial settings

master
Dejvino 3 years ago
parent
commit
cc838e2224
2 changed files with 9 additions and 0 deletions
  1. +8
    -0
      README.md
  2. +1
    -0
      festivald.sh

+ 8
- 0
README.md View File

@@ -2,3 +2,11 @@

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
```



+ 1
- 0
festivald.sh View File

@@ -91,5 +91,6 @@ consume_events() {
done
}

stty -F $SERIAL 9600 cs8 -cstopb -parenb
cat $SERIAL | consume_events


Loading…
Cancel
Save