Drakulix / unifi-dns-gen

A hosts-file generator by aliases made in a UniFi controller to be run on a UDM
MIT License
1 stars 1 forks source link

Autostart on #2

Closed 3773 closed 3 years ago

3773 commented 3 years ago

Your script is now running perfectly and now I have dared to autostart after reboot the UDM Pro with Firmware 1.9.0-10

I still found a small mistake.

A backslash is missing in line 23 -e HOSTS_FILE = "/ hosts / unifi.hosts" \

Loopback is required for your Docker. This program is available from the udm utilities under / mnt / data / podman / cni Installed.

now i have the link made available in the start file 20-dns-alias.sh

! / bin / sh

export PATH = "/ mnt / data / podman / cni: $ PATH" CONTAINER = dns-gen ...

After restarting the UDM Pro, however, I have to start the start file manually

./20-dns-alias.sh

This does not work automatically yet, although the 20-dns-alias.sh in /mnt/data/on_boot.d

The rights are 755

3773 commented 3 years ago

after install

on-boot-script from boostchicken / udm-utilities

work´s