Skip to content

Commit

Permalink
fix: adjusted echo output
Browse files Browse the repository at this point in the history
  • Loading branch information
Raindrac committed Jul 2, 2024
1 parent 3381522 commit c7798c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions just/bluefin-system.just
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,14 @@ toggle-tailscaled:
TAILSCALE_STATUS="$(systemctl is-enabled tailscaled)"

if [ "$TAILSCALE_STATUS" == "enabled" ]; then
echo "Tailscale is enabled. Attempting to disable."
echo "The tailscaled service is enabled. Attempting to disable."
systemctl disable --now tailscaled
TAILSCALE_STATUS="$(systemctl is-enabled tailscaled)"
if [ "$TAILSCALE_STATUS" == "disabled" ]; then
echo "${b}${red}Disabled tailscaled.${n}"
fi
elif [ "$TAILSCALE_STATUS" == "disabled" ]; then
echo "Tailscale is disabled. Attempting to enable."
echo "The tailscaled service is disabled. Attempting to enable."
systemctl enable --now tailscaled
TAILSCALE_STATUS="$(systemctl is-enabled tailscaled)"
if [ "$TAILSCALE_STATUS" == "enabled" ]; then
Expand Down

0 comments on commit c7798c4

Please sign in to comment.