1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2007-2014 OpenWrt.org
8 PROG=/usr/bin/weather-display
14 echo 1 > /sys/class/alphalcd/lcdi2c/clear
15 printf '\x00\x00' > /sys/class/alphalcd/lcdi2c/position
18 procd_set_param command "$PROG"
19 procd_set_param nice "$NICEPRIO"
20 procd_set_param respawn ${respawn_threshold:-600} ${respawn_timeout:-5} ${respawn_retry:-5}