Control: tags -1 patch

Hello Aurelien

I hit that bug when testing the newly uploaded rrdtool 1.5.4.

Attached is a revised version of pre-existing 05-sensord-manpage.patch

The 2 new paragraphs are:
--- lm-sensors-3.4.0.orig/prog/sensord/sensord.8
+++ lm-sensors-3.4.0/prog/sensord/sensord.8
@@ -291,9 +291,9 @@ that we disable logging of sensor readin
 and enable logging of the load average.
 .IP
 .nf
-mkdir /var/www/sensord
-chown www-data:staff /var/www/sensord
-chmod a=rwxs /var/www/sensord
+mkdir /var/www/html/sensord
+chown www-data:staff /var/www/html/sensord
+chmod a=rwxs /var/www/html/sensord
 .fi
 .PP
 Here, we create a world-writable, Web-accessible directory in which
@@ -304,7 +304,7 @@ ownership that is appropriate for your m
 .nf
 sensord --load-average \\
   --rrd-file /var/log/sensord.rrd \\
-  --rrd-cgi /var/www/sensord \\
+  --rrd-cgi /var/www/html/sensord \\
   > /usr/lib/cgi-bin/sensord.cgi
 chmod a+rx /usr/lib/cgi-bin/sensord.cgi
 .fi




Cheers

-- 
Nirgal
---
 prog/sensord/sensord.8 |   22 +---------------------
 1 file changed, 1 insertion(+), 21 deletions(-)

Index: lm-sensors-3.4.0/prog/sensord/sensord.8
===================================================================
--- lm-sensors-3.4.0.orig/prog/sensord/sensord.8
+++ lm-sensors-3.4.0/prog/sensord/sensord.8
@@ -291,9 +291,9 @@ that we disable logging of sensor readin
 and enable logging of the load average.
 .IP
 .nf
-mkdir /var/www/sensord
-chown www-data:staff /var/www/sensord
-chmod a=rwxs /var/www/sensord
+mkdir /var/www/html/sensord
+chown www-data:staff /var/www/html/sensord
+chmod a=rwxs /var/www/html/sensord
 .fi
 .PP
 Here, we create a world-writable, Web-accessible directory in which
@@ -304,7 +304,7 @@ ownership that is appropriate for your m
 .nf
 sensord --load-average \\
   --rrd-file /var/log/sensord.rrd \\
-  --rrd-cgi /var/www/sensord \\
+  --rrd-cgi /var/www/html/sensord \\
   > /usr/lib/cgi-bin/sensord.cgi
 chmod a+rx /usr/lib/cgi-bin/sensord.cgi
 .fi
@@ -330,27 +330,7 @@ the URL `http://localhost/cgi-bin/sensor
 It is expected that all required sensor modules are loaded prior to
 this daemon being started. This can either be achieved with a system
 specific module loading scheme (e.g., listing the required modules
-in the file `/etc/modules' under Debian) or with explicit
-.BR modprobe (1)
-commands in an init script before loading the daemon.
-
-For example, a `sensord' initialization script might
-contain (among others) the following commands:
-.IP
-.nf
-# Sample init.d scriptlet
-echo -n "Loading AMD756 module: "
-modprobe i2c-amd756 || { echo Fail. ; exit 1 ; }
-echo OK.
-echo -n "Loading W83781D module: "
-modprobe w83781d || { echo Fail. ; exit 1 ; }
-echo OK.
-echo -n "Starting sensord: "
-daemon sensord
-.fi
-.PP
-Ignore the platform-specific shell functions; the general idea
-should be fairly clear.
+in the file `/etc/modules' under Debian).
 .SH ERRORS
 Errors encountered by this daemon are logged to
 .BR syslogd (8)

Reply via email to