pull/12/head
Tom Early 7 years ago
parent 087a839285
commit c4a887b85a

@ -261,17 +261,17 @@ MaintenanceMenu () {
echo " d : Start DTMF" echo " d : Start DTMF"
fi fi
if [[ "${ModuleState[0]}" == 'running' ]]; then if [[ "${ModuleState[0]}" == 'running' ]]; then
echo " a : Stop Module A" echo " a : Stop Module A"
elif [[ "${ModuleState[0]}" == 'stopped' ]]; then elif [[ "${ModuleState[0]}" == 'stopped' ]]; then
echo " a : Start Module A" echo " a : Start Module A"
fi fi
if [[ "${ModuleState[1]}" == 'running' ]]; then if [[ "${ModuleState[1]}" == 'running' ]]; then
echo " b : Stop Module B" echo " b : Stop Module B"
elif [[ "${ModuleState[1]}" == 'stopped' ]]; then elif [[ "${ModuleState[1]}" == 'stopped' ]]; then
echo " b : Start Module B" echo " b : Start Module B"
fi fi
if [[ "${ModuleState[2]}" == 'running' ]]; then if [[ "${ModuleState[2]}" == 'running' ]]; then
echo " c : Stop Module C" echo " c : Stop Module C"
elif [[ "${ModuleState[2]}" == 'stopped' ]]; then elif [[ "${ModuleState[2]}" == 'stopped' ]]; then
echo " c : Start Module C" echo " c : Start Module C"
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.