Skip to content
Snippets Groups Projects
Commit ef3c90cc authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

no raid size check (DSM 5.x)

parent 2ffe42ed
Branches
No related tags found
1 merge request!83no raid size check (DSM 5.x)
......@@ -407,10 +407,6 @@ if [ $FLAG_DISK -ne 0 ]; then
RAIDName[$i]=$(_get $OID_RAIDName.$(($i-1)))
iRAIDStatus=$(_get $OID_RAIDStatus.$(($i-1)))
# size in integer GB
iRAIDSize=$(( $(_get $OID_RAIDSize.$(($i-1))) / 1024/1024/1024 ))
iRAIDFree=$(( $(_get $OID_RAIDFree.$(($i-1))) / 1024/1024/1024 ))
iFree=$(( iRAIDFree*100/$iRAIDSize ))
RAIDStatus[$i]=${aStatusRaid[${iRAIDStatus}]}
if [ "$iRAIDStatus" != "1" ] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment