Files
dhcpd_leases/README.md

6 lines
214 B
Markdown
Raw Permalink Normal View History

2022-05-08 20:03:45 +02:00
# dhcpd_leases
2022-05-08 20:05:52 +02:00
Add this to a file and run in cron:
###
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/