lm_sensors/lm_sensors-3.3.4-man-sensors-conf-conv.patch
2013-08-01 13:58:39 +02:00

49 lines
1.5 KiB
Diff

diff -Naur lm_sensors-3.3.4.orig/etc/Module.mk lm_sensors-3.3.4/etc/Module.mk
--- lm_sensors-3.3.4.orig/etc/Module.mk 2009-07-24 15:52:28.000000000 +0200
+++ lm_sensors-3.3.4/etc/Module.mk 2013-08-01 13:47:42.000000000 +0200
@@ -32,10 +32,13 @@
-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 -Naur lm_sensors-3.3.4.orig/etc/sensors-conf-convert.8 lm_sensors-3.3.4/etc/sensors-conf-convert.8
--- lm_sensors-3.3.4.orig/etc/sensors-conf-convert.8 1970-01-01 01:00:00.000000000 +0100
+++ lm_sensors-3.3.4/etc/sensors-conf-convert.8 2013-08-01 13:34:06.197767137 +0200
@@ -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 to the lm_sensors
+version 3 format.
+.P
+The data are read from the standard input and the result
+is written to the standard output.
+
+.SH SEE ALSO
+sensors(1)
+
+.SH AUTHOR
+Jean Delvare