Update 'README.md'

This commit is contained in:
2022-05-08 20:05:52 +02:00
parent 6f3c6fab8e
commit b47bcec4e8

View File

@@ -1,2 +1,6 @@
# dhcpd_leases # 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/