openwrt: configure /dev/ttyS0 with -echo -onlcr params

This commit is contained in:
Bart Van Der Meerssche 2010-09-20 21:01:46 +02:00
parent a2e6ef8d9f
commit afeea3e5f0
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
START=98 START=98
start() { start() {
stty 4800 < /dev/ttyS0 stty 4800 -echo -onlcr < /dev/ttyS0
/usr/share/lua/flukso/flukso.lua >&- 2>&- <&- & /usr/share/lua/flukso/flukso.lua >&- 2>&- <&- &
/usr/share/lua/flukso/heartbeat.lua 1 >&- 2>&- <&- /usr/share/lua/flukso/heartbeat.lua 1 >&- 2>&- <&-
echo -e "$(date '+%M') * * * * /usr/share/lua/flukso/heartbeat.lua 0\n"'*/15 * * * * [ -z "$(ps | grep '\'flukso.lu[a]\'')" ] && reboot' | crontab - echo -e "$(date '+%M') * * * * /usr/share/lua/flukso/heartbeat.lua 0\n"'*/15 * * * * [ -z "$(ps | grep '\'flukso.lu[a]\'')" ] && reboot' | crontab -