diff --git a/crontab-template b/crontab-template new file mode 100644 index 0000000..7eb5df5 --- /dev/null +++ b/crontab-template @@ -0,0 +1,3 @@ +# Create a leasefile in the correct format and copy it to a folder of your choice. +awk '{if ($1) {$1=strftime("%c",$1); print $1 ";" $2 ";" $3 ";" $4}}' /var/lib/misc/dnsmasq.leases > /tmp/dhcpleases.txt +cp /tmp/dhcpleases.txt /var/www/html/ \ No newline at end of file