Hello,
I'm trying to run a shell script on a kern board (av1100) that shows some text output on the attached screen. The big problem is that the screen goes to blank in like 2 minutes.
I'd just like to have the script showing it's output while the thing is on.
Isn't there a command to stop the screen from going to blank?
p.s. there is no bash available, just #!/bin/sh
Code:
#!/bin/sh
###########################################################
#
# Script
#
#
###########################################################
COUNTER=0
while [ 1 -eq 1 ]
#following didn't work, setterm isn't available
#/usr/bin/setterm -blank 0
do
COUNTER=`expr $COUNTER + 1`
if [ $COUNTER = 20 ]
then
echo "special output"
sleep 3
COUNTER=`expr $COUNTER - $COUNTER`
fi
echo -n "continuous output"
sleep 1
done