mirror of
https://github.com/byReqz/stocheck.git
synced 2024-11-22 22:51:15 +00:00
fix case
This commit is contained in:
parent
4967cc5d0a
commit
c71fd842e7
@ -8,7 +8,7 @@ if [[ $(curl -s https://raw.githubusercontent.com/byReqz/stocheck/main/stocheck.
|
|||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
while [ -z "$1" ]; do
|
while [ -z "$1" ]; do
|
||||||
raidcheck="$(lspci | grep -E 'lsi|3ware|adaptec|smartraid')"
|
raidcheck="$(lspci | grep -E 'LSI|3Ware|Adaptec|Smartraid')"
|
||||||
if [[ -z "$raidcheck" ]];then
|
if [[ -z "$raidcheck" ]];then
|
||||||
if [[ -n $(ls /sys/block | grep sd) ]];then
|
if [[ -n $(ls /sys/block | grep sd) ]];then
|
||||||
echo "=== sata drive check: ==="
|
echo "=== sata drive check: ==="
|
||||||
|
Loading…
Reference in New Issue
Block a user