Skip to contentSkip to conversation

Man page for sensors-conf-convert

PATCH Applied Jaromir Capik 2 participants 3 messages Aug 1, 2013 – Sep 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Man page for sensors-conf-convert

Hello Jean.

Our engineers did a mass scan for man page problems few weeks ago. During the scan they found that the sensors-conf-convert tool doesn't have a manpage.
I've created a short manpage for the tool and modified the makefile accordingly.

Please, check the patch and apply/modify if needed.

Thanks.

Regards,
Jaromir.

--
Jaromir Capik
Red Hat Czech, s.r.o.
Software Engineer / BaseOS

Email: [email protected]
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkynova 99/71, 612 45, Brno, Czech Republic
IC: 27690016

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

PATCH 1/1 Man page for sensors-conf-convert

And now the attachment :]

etc/Module.mk +3 -0
diff -Naur lm_sensors-3.3.4.orig/etc/Module.mk lm_sensors-3.3.4/etc/Module.mk
@@ -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
etc/sensors-conf-convert.8 +27 -0
diff -Naur lm_sensors-3.3.4.orig/etc/sensors-conf-convert.8 lm_sensors-3.3.4/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 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

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors