Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
19 lines
471 B
Bash
Executable File
19 lines
471 B
Bash
Executable File
#!/bin/bash
|
|
|
|
setupDNSIP()
|
|
{
|
|
local app_name="$1"
|
|
|
|
if [[ "$app_name" == "" ]]; then
|
|
isError "Something went wrong...No app name provided..."
|
|
if [[ "$initial_command2" == "terminal" ]]; then
|
|
resetToMenu;
|
|
fi
|
|
fi
|
|
|
|
# STUB: meant to resolve the reachable IP of the given resolver
|
|
# (adguard/pihole) into $dns_ip_setup for updateDNS. Not implemented yet,
|
|
# so updateDNS falls back to CFG_DNS_SERVER_* upstreams.
|
|
:
|
|
}
|