Fix storcli path

This commit is contained in:
David Hain 2018-05-18 14:03:16 -05:00
parent e24aed7d3a
commit 8730670624
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ usage() {
[ $# -eq 2 ] || usage [ $# -eq 2 ] || usage
trap 'kill -TERM $child 2>/dev/null' SIGTERM trap 'kill -TERM $child 2>/dev/null' SIGTERM
while true; do while true; do
python /storcli.py > "$1.$$" & python /storcli.py --storcli_path=/usr/sbin/storcli > "$1.$$" &
child=$!; wait $child child=$!; wait $child
mv "$1.$$" "$1" mv "$1.$$" "$1"
sleep "$2" & sleep "$2" &