crontab-info
This commit is contained in:
3
crontab-template
Normal file
3
crontab-template
Normal file
@@ -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/
|
||||
Reference in New Issue
Block a user