gandi-dynamic-dns/install.sh
2020-02-28 16:11:23 +00:00

12 lines
388 B
Bash

#!/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 to set your configuration in the file /etc/live-dns/live-dns.conf