Files
dhcpd_leases/README.md
2022-05-08 20:05:52 +02:00

6 lines
214 B
Markdown

# dhcpd_leases
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/