1
0
mirror of https://github.com/byReqz/stocheck.git synced 2024-11-22 14:41:15 +00:00

Update stocheck.sh

This commit is contained in:
Nils 2021-01-24 20:37:38 +00:00 committed by GitHub
parent 0096c1ec08
commit d09bec4186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ if [[ $(curl -s https://raw.githubusercontent.com/byReqz/stocheck/main/stocheck.
echo ""
fi
while [ ! -n "$1" ]; do
raidcheck="$(lspci | grep RAID)"
raidcheck="$(lspci)"
if [[ -z "$raidcheck" ]];then
if [[ -n $(ls /sys/block | grep sd) ]];then
echo "=== sata drive check: ==="