Remove quotes
This commit is contained in:
parent
1e602d10d0
commit
9551d74c4f
|
@ -177,6 +177,7 @@ function show_domains {
|
||||||
GOGSDOM=$(cat ${COMPLETION_FILE} | grep 'Gogs domain' | awk -F ':' '{print $2}')
|
GOGSDOM=$(cat ${COMPLETION_FILE} | grep 'Gogs domain' | awk -F ':' '{print $2}')
|
||||||
echo -n -e "$(pad_string ${GOGSDOM})"
|
echo -n -e "$(pad_string ${GOGSDOM})"
|
||||||
if [ -d /var/lib/tor/hidden_service_git ]; then
|
if [ -d /var/lib/tor/hidden_service_git ]; then
|
||||||
|
/var/lib/tor/hidden_service_gogs/hostname
|
||||||
echo -n "$(cat /var/lib/tor/hidden_service_gogs/hostname)"
|
echo -n "$(cat /var/lib/tor/hidden_service_gogs/hostname)"
|
||||||
fi
|
fi
|
||||||
echo ''
|
echo ''
|
||||||
|
@ -200,7 +201,7 @@ function show_users {
|
||||||
for d in /home/*/ ; do
|
for d in /home/*/ ; do
|
||||||
USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
||||||
if [[ $USRNAME != "git" ]]; then
|
if [[ $USRNAME != "git" ]]; then
|
||||||
echo -n -e "$(pad_string \"${USRNAME}\")"
|
echo -n -e "$(pad_string ${USRNAME})"
|
||||||
# get the SIP extension
|
# get the SIP extension
|
||||||
SIPEXT=
|
SIPEXT=
|
||||||
while read ext; do
|
while read ext; do
|
||||||
|
@ -214,7 +215,7 @@ function show_users {
|
||||||
fi
|
fi
|
||||||
done < $SIP_CONFIG_FILE
|
done < $SIP_CONFIG_FILE
|
||||||
if [ $SIPEXT ]; then
|
if [ $SIPEXT ]; then
|
||||||
echo -n -e "$(pad_string \"SIP:${SIPEXT}\")"
|
echo -n -e "$(pad_string SIP:${SIPEXT})"
|
||||||
else
|
else
|
||||||
echo -n -e "$(pad_string '')"
|
echo -n -e "$(pad_string '')"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue