@ -124,7 +124,7 @@ BaseStatus () {
ModuleStatus () {
local LoadState SubState
if [ -z ${3} ]; then
echo "Module ${2^^} - EMPTY"
ModuleState[$1]='EMPTY'
else
mcvar="n${3}"
if [[ ${!mcar} > 1 ]]; then
@ -143,7 +143,7 @@ ModuleStatus () {
ModuleState[$1]='not installed'
fi
echo "Module ${2^^} - ${3^^} is $ModuleState[$1]"
echo "Module ${2^^} - ${3^^} is ${ModuleState[$1]}"
}
Powered by TurnKey Linux.