Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- $okdevices = hpssacli controller slot=4 physicaldrive all show | grep -c "OK"
- if [ $okdevices -lt 4 ]
- then
- echo "disk missing"
- fi
- #!/bin/bash
- okdevices="$(hpssacli controller slot=4 physicaldrive all show | grep -c OK)"
- if [ $okdevices -lt 4 ]; then
- echo "missing disk"
- fi
- #!/bin/bash
- okdevices="$(hpssacli controller slot=4 physicaldrive all show | grep -c OK)"
- if [ $okdevices -lt 4 ]; then
- echo "missing disk"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement