You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
195 B

#!/usr/bin/sh
count=$(ssh homeServer checkupdates | wc -l)
if [ "$count" = "0" ]; then
count=""
fi
echo $count
echo $count
if [ "$count" -gt "5" ]; then
echo "#FFOOOO"
else
echo "#FF8000"
fi