Files
udm_customdns/install.sh
2022-11-28 19:20:31 -06:00

20 lines
655 B
Bash
Executable File

#!/usr/bin/env sh
#source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)"
#source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)"
DATA_DIR="/mnt/data"
echo -e "${idsCL[Green]}Installing UniFiOS-Utilities 'on-boot-script' system...${idsCL[Default]}"
echo
# curl -fsL "https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/HEAD/on-boot-script/remote_install.sh" | /bin/sh
echo
echo -e "${idsCL[Green]}Downloading hostname template file to: ${DATA_DIR}/on_boot.d/dns_custom_hostnames.sh${idsCL[Default]}"
echo
echo -e "${idsCL[LightCyan]}Edit the file above to add your custom DNS entires${idsCL[Default]}"
exit 0