create cache output in /dev/shm/gnt-smart
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 19 Jan 2018 11:03:59 +0000 (12:03 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 19 Jan 2018 11:03:59 +0000 (12:03 +0100)
gnt-smart.sh

index 30b96e3..f234c28 100755 (executable)
@@ -2,4 +2,4 @@
 
 cp /srv/gnt-info/smart-megaraid.sh /tmp/
 gnt-cluster copyfile /tmp/smart-megaraid.sh
-gnt-cluster command -M /tmp/smart-megaraid.sh $*
+gnt-cluster command -M /tmp/smart-megaraid.sh $* | tee /dev/shm/gnt-smart