projects
/
gnt-info
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
keep headers, don't display invalid zeros
[gnt-info]
/
gnt-smart.sh
1
#!/bin/sh -e
2
3
if [ "$1" = "clean" ] ; then
4
gnt-cluster command -M rm -v '/dev/shm/*smart*'
5
fi
6
7
cp /srv/gnt-info/smart-megaraid.sh /tmp/
8
gnt-cluster copyfile /tmp/smart-megaraid.sh
9
gnt-cluster command -M /tmp/smart-megaraid.sh $* | tee /dev/shm/gnt-smart