aboutsummaryrefslogtreecommitdiffstats
path: root/src/genhostid.1
diff options
context:
space:
mode:
Diffstat (limited to 'src/genhostid.1')
-rw-r--r--src/genhostid.112
1 files changed, 12 insertions, 0 deletions
diff --git a/src/genhostid.1 b/src/genhostid.1
new file mode 100644
index 00000000..436d9537
--- /dev/null
+++ b/src/genhostid.1
@@ -0,0 +1,12 @@
+.TH GENHOSTID 1
+.SH NAME
+genhostid \- generate and set a hostid for the current host
+.SH SYNOPSIS
+.B genhostid
+
+.SH DESCRIPTION
+\fBgenhostid\fR generates a random hostid and stores it in /etc/hostid,
+if /etc/hostid does not already exist.
+
+.SH "SEE ALSO"
+hostid(1), gethostid(2), sethostid(2)