gandi-dynamic-dns/install.sh

12 lines
384 B
Bash
Raw Normal View History

2020-02-27 13:48:28 +00:00
#!/bin/bash
cp usr/local/bin/live-dns-update.sh /usr/local/bin/live-dns-update.sh
chmod +x /usr/local/bin/live-dns-update.sh
mkdir /etc/live-dns
cp etc/live-dns/live-dns.conf /etc/live-dns/live-dns.conf
chmod 400 /etc/live-dns/live-dns.conf
cp etc/cron.d/live-dns-update /etc/cron.d/live-dns-update
echo You now need set your configuration in the file /etc/live-dns/live-dns.conf