Add serial settings
This commit is contained in:
parent
65b09ac866
commit
cc838e2224
@ -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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -91,5 +91,6 @@ consume_events() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stty -F $SERIAL 9600 cs8 -cstopb -parenb
|
||||||
cat $SERIAL | consume_events
|
cat $SERIAL | consume_events
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user