summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2013-09-11 12:18:59 +0000
committerJean Delvare <khali@linux-fr.org>2013-09-11 12:18:59 +0000
commit19a38a226dae08673589be6086025bedc3de948b (patch)
tree09571288e61942f4adced13e28fdfe50fc975cdb /etc
parentfbfbb9c9a8620caf4aa0d8ea90b86abd3c189d50 (diff)
downloadlm-sensors-git-19a38a226dae08673589be6086025bedc3de948b.tar.gz
sensors-conf-convert: Add a manual page
Contributed by Jaromir Capik.
Diffstat (limited to 'etc')
-rw-r--r--etc/Module.mk3
-rw-r--r--etc/sensors-conf-convert.827
2 files changed, 30 insertions, 0 deletions
diff --git a/etc/Module.mk b/etc/Module.mk
index 2bdd634a..6a273928 100644
--- a/etc/Module.mk
+++ b/etc/Module.mk
@@ -32,10 +32,13 @@ install-etc:
-a ! -e $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors.conf ] ; then \
$(MV) $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors.conf ; \
fi
+ $(MKDIR) $(DESTDIR)$(MANDIR)/man8
+ $(INSTALL) -m 644 $(ETC_DIR)/sensors-conf-convert.8 $(DESTDIR)$(MANDIR)/man8
user_install :: install-etc
uninstall-etc:
$(RM) $(DESTDIR)$(BINDIR)/sensors-conf-convert
+ $(RM) $(DESTDIR)$(MANDIR)/man8/sensors-conf-convert.8
user_uninstall :: uninstall-etc
diff --git a/etc/sensors-conf-convert.8 b/etc/sensors-conf-convert.8
new file mode 100644
index 00000000..34f672e2
--- /dev/null
+++ b/etc/sensors-conf-convert.8
@@ -0,0 +1,27 @@
+.TH SENSORS-CONF-CONVERT 8 "August 2013" "lm-sensors 3"
+.SH NAME
+sensors-conf-convert \- sensors configuration conversion
+
+.SH SYNOPSIS
+.B sensors-conf-convert
+<
+.I /etc/sensors.conf
+>
+.I /etc/sensors3.conf
+
+.SH DESCRIPTION
+The purpose of the
+.B sensors-conf-convert
+tool is to convert
+.I sensors.conf
+from the lm_sensors version 2 format to the lm_sensors
+version 3 format.
+.P
+The old configuration file is read from the standard input and the
+new one is written to the standard output.
+
+.SH SEE ALSO
+sensors(1), libsensors(3)
+
+.SH AUTHOR
+Jean Delvare