Skip to content

Commit

Permalink
clone: Remove unneeded vars
Browse files Browse the repository at this point in the history
  • Loading branch information
tschettervictor authored Feb 3, 2025
1 parent b76201e commit ef6d761
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions usr/local/share/bastille/clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,10 @@ if echo "${NEWNAME}" | grep -q "[.]"; then
fi

validate_ip() {
IPX_ADDR="ip4.addr"
IP6_MODE="disable"
ip6=$(echo "${IP}" | grep -E '^(([a-fA-F0-9:]+$)|([a-fA-F0-9:]+\/[0-9]{1,3}$))')
if [ -n "${ip6}" ]; then
info "Valid: (${ip6})."
IPX_ADDR="ip6.addr"
# shellcheck disable=SC2034
IP6_MODE="new"
else
Expand Down

0 comments on commit ef6d761

Please sign in to comment.