Config File
This commit is contained in:
parent
aebc3cddde
commit
957ba3c430
@ -325,6 +325,7 @@ config_file() {
|
|||||||
ip=$(int_to_ip $ip_int)
|
ip=$(int_to_ip $ip_int)
|
||||||
msg_info "Checking IP: $ip"
|
msg_info "Checking IP: $ip"
|
||||||
if ! ping -c 4 -W 1 "$ip" >/dev/null 2>&1; then
|
if ! ping -c 4 -W 1 "$ip" >/dev/null 2>&1; then
|
||||||
|
msg_ok " "
|
||||||
NET="$ip/$cidr"
|
NET="$ip/$cidr"
|
||||||
echo -e "${NETWORK}${BOLD}${DGN}Using free IP Address: ${BGN}$NET${CL}"
|
echo -e "${NETWORK}${BOLD}${DGN}Using free IP Address: ${BGN}$NET${CL}"
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user