mirror of
https://github.com/byReqz/stocheck.git
synced 2024-11-14 19:53: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 ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
while [ ! -n "$1" ]; do
|
while [ ! -n "$1" ]; do
|
||||||
raidcheck="$(lspci | grep RAID)"
|
raidcheck="$(lspci)"
|
||||||
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: ==="
|
||||||
@ -160,4 +160,4 @@ while [ ! -z "$1" ]; do
|
|||||||
echo " -h/--help -- show help"
|
echo " -h/--help -- show help"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user