gandi-dynamic-dns/install.sh
2020-02-27 14:48:28 +01:00

11 lines
304 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