Update powerwall.sh
This commit is contained in:
@@ -727,11 +727,11 @@ TEST(){
|
|||||||
#########################################################
|
#########################################################
|
||||||
if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [[ "${noheader}" != *" ${3} "* ]] && [[ "${noheader}" != *" ${4} "* ]] && [[ "${noheader}" != *" ${5} "* ]]; then
|
if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [[ "${noheader}" != *" ${3} "* ]] && [[ "${noheader}" != *" ${4} "* ]] && [[ "${noheader}" != *" ${5} "* ]]; then
|
||||||
echo
|
echo
|
||||||
DIVIDER . lightGreen 70
|
DIVIDER . lightGreen 75
|
||||||
msg="| PowerWall Management ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})"
|
msg="| PowerWall Management ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})"
|
||||||
c=0; spc=''; spc1=`expr 81 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
c=0; spc=''; spc1=`expr 81 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||||
echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGreen]}|${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGreen]}|${idsCL[Default]}"
|
||||||
DIVIDER . lightGreen 70
|
DIVIDER . lightGreen 75
|
||||||
fi
|
fi
|
||||||
# if [ ${PW_ACTION-x} ]; then
|
# if [ ${PW_ACTION-x} ]; then
|
||||||
case ${PW_ACTION} in
|
case ${PW_ACTION} in
|
||||||
|
|||||||
Reference in New Issue
Block a user