Lines 1-18
Link Here
|
1 |
#!/bin/sh |
1 |
#!/bin/sh |
2 |
|
2 |
|
3 |
# This line will be automatically uncommented when you "make install" |
3 |
#to avoid the security hole |
4 |
#installed=1 |
4 |
watch -n 5 beagle-info --status |
5 |
|
|
|
6 |
if [ -z $installed ]; then |
7 |
CMD="./beagle-info" |
8 |
else |
9 |
CMD="beagle-info" |
10 |
fi |
11 |
|
12 |
while [ 1 ]; do |
13 |
str=`$CMD --status | head -n 20` |
14 |
clear |
15 |
echo "$str" |
16 |
# beagle-info causes a CPU spike, keep the hammering low |
17 |
sleep 5 |
18 |
done |