diff --git a/README.md b/README.md index 8d5ee84..fdf5440 100644 --- a/README.md +++ b/README.md @@ -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 +``` + + diff --git a/festivald.sh b/festivald.sh index 320f98f..22f1990 100755 --- a/festivald.sh +++ b/festivald.sh @@ -91,5 +91,6 @@ consume_events() { done } +stty -F $SERIAL 9600 cs8 -cstopb -parenb cat $SERIAL | consume_events