Update sites.inc
This commit is contained in:
@@ -569,7 +569,7 @@ SITEINFO(){
|
||||
[ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-'
|
||||
|
||||
until [ "${edit}" = "s" ]; do
|
||||
# tput sc
|
||||
tput sc
|
||||
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]}!) SSL Secure: ${idsST[Bold]}${ssl}${idsST[Reset]} - ${idsCL[LightCyan]}${SUBJECTNAMES}"
|
||||
@@ -580,20 +580,9 @@ SITEINFO(){
|
||||
echo -e "${idsCL[Cyan]}7) Proxy Server: ${idsST[Bold]}${server}${idsST[Reset]}"
|
||||
echo -e "${idsCL[Cyan]}8) Proxy Port: ${idsST[Bold]}${port}${idsST[Reset]}"
|
||||
fi
|
||||
echo -en "\n${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}"
|
||||
read edit
|
||||
# echo -en "\n${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}"
|
||||
# read edit
|
||||
|
||||
# tput rc;tput el
|
||||
|
||||
tput sc # save cursor
|
||||
printf "Something that I made up for this string"
|
||||
sleep 1
|
||||
tput rc;tput el # rc = restore cursor, el = erase to end of line
|
||||
printf "Another message for testing"
|
||||
sleep 1
|
||||
tput rc;tput el
|
||||
printf "Yet another one"
|
||||
sleep 1
|
||||
tput rc;tput el
|
||||
done
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user