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:
parent
0096c1ec08
commit
d09bec4186
@ -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: ==="
|
||||
@ -160,4 +160,4 @@ while [ ! -z "$1" ]; do
|
||||
echo " -h/--help -- show help"
|
||||
exit
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user