|
|
@ -1,9 +1,9 @@ |
|
|
|
#!/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 |
|
|
|
else |
|
|
|
echo $count |
|
|
|
echo $count |
|
|
|
echo $count |
|
|
|
echo $count |
|
|
|
if [ "$count" -gt "5" ]; then |
|
|
|
if [ "$count" -gt "5" ]; then |
|
|
@ -11,3 +11,4 @@ if [ "$count" -gt "5" ]; then |
|
|
|
else |
|
|
|
else |
|
|
|
echo "#FF8000" |
|
|
|
echo "#FF8000" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
fi |
|
|
|