Skip to content

Commit

Permalink
chore: fix bold syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
xXJSONDeruloXx committed Jan 14, 2025
1 parent d24a1bb commit d55cb56
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ toggle-ssh:
SSH_STATUS="Enabled"
fi
# Display current status
echo -e "\n${BOLD}Hostname:${NORMAL} $HOSTNAME"
echo -e "${BOLD}IP Address:${NORMAL} $IP_ADDRESS"
echo -e "\n${bold}Hostname:${NORMAL} $HOSTNAME"
echo -e "${bold}IP Address:${NORMAL} $IP_ADDRESS"
if [ "$SSH_STATUS" == "Enabled" ]; then
echo -e "${BOLD}SSH Availability on Boot:${NORMAL} ${green}$SSH_STATUS${NORMAL}\n"
echo -e "${bold}SSH Availability on Boot:${NORMAL} ${green}$SSH_STATUS${NORMAL}\n"
else
echo -e "${BOLD}SSH Availability on Boot:${NORMAL} ${yellow}$SSH_STATUS${NORMAL}\n"
echo -e "${bold}SSH Availability on Boot:${NORMAL} ${yellow}$SSH_STATUS${NORMAL}\n"
fi
# Prompt user for action
echo "Choose an option:"
Expand All @@ -42,7 +42,7 @@ toggle-ssh:
sudo systemctl enable sshd
sudo systemctl start sshd
echo -e "SSH is now ${green}Enabled${NORMAL}. You can SSH using:"
echo -e "${BOLD}${USER}@${IP_ADDRESS}${NORMAL}"
echo -e "${bold}${USER}@${IP_ADDRESS}${NORMAL}"
echo " "
;;
"Disable SSH")
Expand Down

0 comments on commit d55cb56

Please sign in to comment.