summaryrefslogtreecommitdiff
path: root/networking/udhcp/README.dumpleases
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/README.dumpleases')
-rw-r--r--networking/udhcp/README.dumpleases17
1 files changed, 17 insertions, 0 deletions
diff --git a/networking/udhcp/README.dumpleases b/networking/udhcp/README.dumpleases
new file mode 100644
index 0000000..6367710
--- /dev/null
+++ b/networking/udhcp/README.dumpleases
@@ -0,0 +1,17 @@
+udhcp lease dump (dumpleases)
+----------------------------
+
+dumpleases displays the leases written out by the udhcpd server. Lease
+times are stored in the file by time remaining in lease (for systems
+without clock that works when there is no power), or by the absolute
+time that it expires in seconds from epoch. dumpleases accepts the
+following command line options:
+
+-a, --absolute Interpret lease times as expiration time.
+-r, --remaining Interpret lease times as remaining time.
+-f, --file=FILE Read lease information from FILE.
+-h, --help Display help.
+
+Note that if udhcpd has not written a leases file recently, the output
+of may not be up to date.
+