support attribute cleanup for nice single value column
[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