Use $HPACUCLI

This commit is contained in:
uakfdotb 2015-10-14 19:24:53 -04:00
parent ee05a4f24a
commit 1ccc433779
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ case "$1" in
exit 0
;;
--all)
controllers=`sudo -u root hpacucli controller all show | sed 's/.*Slot \([0-9]*\).*/\1/'`
controllers=`sudo -u root $HPACUCLI controller all show | sed 's/.*Slot \([0-9]*\).*/\1/'`
for i in $controllers ; do sudo -u root $HPACUCLI controller slot=$i pd all show status;done > $TEMPFILE
check_raid
;;