commit
030e81ff9a
2 changed files with 10 additions and 9 deletions
@ -1,13 +1,14 @@ |
|||||||
#!/usr/bin/sh |
#!/usr/bin/sh |
||||||
|
|
||||||
count=$(ssh homeServer checkupdates | wc -l) |
count=$(ssh homeServer -t checkupdates | wc -l) |
||||||
if [ "$count" = "0" ]; then |
if [ "$count" = "0" ]; then |
||||||
count="" |
echo "" |
||||||
fi |
|
||||||
echo $count |
|
||||||
echo $count |
|
||||||
if [ "$count" -gt "5" ]; then |
|
||||||
echo "#FFOOOO" |
|
||||||
else |
else |
||||||
echo "#FF8000" |
echo $count |
||||||
|
echo $count |
||||||
|
if [ "$count" -gt "5" ]; then |
||||||
|
echo "#FFOOOO" |
||||||
|
else |
||||||
|
echo "#FF8000" |
||||||
|
fi |
||||||
fi |
fi |
||||||
|
Loading…
Reference in new issue