Update sites.inc

This commit is contained in:
2023-05-25 20:42:23 -05:00
parent df11db9cfd
commit 3d40866e5e

View File

@@ -568,6 +568,7 @@ SITEINFO(){
[ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt='-' [ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt='-'
[ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-' [ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-'
until [ "${edit}" = "s" ]; do
echo -e "${idsCL[Cyan]}!) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}" echo -e "${idsCL[Cyan]}!) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}"
echo -e "${idsCL[Cyan]}!) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}" echo -e "${idsCL[Cyan]}!) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}"
echo -e "${idsCL[Cyan]}!) SSL Secure: ${idsST[Bold]}${ssl}${idsST[Reset]} - ${idsCL[LightCyan]}${SUBJECTNAMES}" echo -e "${idsCL[Cyan]}!) SSL Secure: ${idsST[Bold]}${ssl}${idsST[Reset]} - ${idsCL[LightCyan]}${SUBJECTNAMES}"
@@ -578,10 +579,14 @@ SITEINFO(){
echo -e "${idsCL[Cyan]}7) Proxy Server: ${idsST[Bold]}${server}${idsST[Reset]}" echo -e "${idsCL[Cyan]}7) Proxy Server: ${idsST[Bold]}${server}${idsST[Reset]}"
echo -e "${idsCL[Cyan]}8) Proxy Port: ${idsST[Bold]}${port}${idsST[Reset]}" echo -e "${idsCL[Cyan]}8) Proxy Port: ${idsST[Bold]}${port}${idsST[Reset]}"
fi fi
echo -en "\n${idsCL[LightCyan]}Enter the line number to edit: ${idsCL[Default]}" echo -en "\n${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}"
read edit read edit
echo -e "\r\r\r\r\r\r\r\r\r\r"
done
echo echo
fi fi