summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2013-09-11 12:18:59 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2013-09-11 12:18:59 +0000
commit2e1f34e5498bcac9e4fde1b2192a52cb3ad54140 (patch)
tree09571288e61942f4adced13e28fdfe50fc975cdb
parentb80a072e0d4367c3f23a839b2aad292513141d12 (diff)
downloadlm-sensors-2e1f34e5498bcac9e4fde1b2192a52cb3ad54140.tar.gz
sensors-conf-convert: Add a manual page
Contributed by Jaromir Capik. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6197 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r--CHANGES1
-rw-r--r--etc/Module.mk3
-rw-r--r--etc/sensors-conf-convert.827
3 files changed, 31 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index d58edf9e..53a34d95 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,7 @@ lm-sensors CHANGES file
SVN HEAD
libsensors: Improve documentation of two functions
init: Fix EnvironmentFile in service files
+ sensors-conf-convert: Add a manual page
sensors-detect: Report built-in drivers as such
Use modules.builtin instead of /sys/module
Handle built-in modules properly
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