PERFORCE change 126373 for review
Constantine A. Murenin
cnst at FreeBSD.org
Thu Sep 13 12:43:03 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=126373
Change 126373 by cnst at dale on 2007/09/13 19:42:03
add /etc/rc.d/sensorsd, modelled after ftpproxy and somewhat around powerd
Affected files ...
.. //depot/projects/soc2007/cnst-sensors/etc.defaults/rc.conf#2 edit
.. //depot/projects/soc2007/cnst-sensors/etc.rc.d/Makefile#2 edit
.. //depot/projects/soc2007/cnst-sensors/etc.rc.d/sensorsd#1 add
.. //depot/projects/soc2007/cnst-sensors/share.man.man5/rc.conf.5#2 edit
Differences ...
==== //depot/projects/soc2007/cnst-sensors/etc.defaults/rc.conf#2 (text+ko) ====
@@ -40,6 +40,8 @@
kldxref_module_path="" # Override kern.module_path. A ';'-delimited list.
powerd_enable="NO" # Run powerd to lower our power usage.
powerd_flags="" # Flags to powerd (if enabled).
+sensorsd_enable="NO" # Run sensorsd to monitor and log sensor state changes
+sensorsd_flags="" # additional flags for sensorsd(8)
tmpmfs="AUTO" # Set to YES to always create an mfs /tmp, NO to never
tmpsize="20m" # Size of mfs /tmp if created
tmpmfs_flags="-S" # Extra mdmfs options for the mfs /tmp
==== //depot/projects/soc2007/cnst-sensors/etc.rc.d/Makefile#2 (text+ko) ====
@@ -33,7 +33,7 @@
random rarpd resolv root \
route6d routed routing rpcbind rtadvd rwho \
savecore sdpd securelevel sendmail \
- serial sppp statd swap1 \
+ sensorsd serial sppp statd swap1 \
syscons sysctl syslogd \
timed tmp \
ugidfw \
==== //depot/projects/soc2007/cnst-sensors/share.man.man5/rc.conf.5#2 (text+ko) ====
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD: src/share/man/man5/rc.conf.5,v 1.327 2007/09/06 21:00:48 mlaier Exp $
.\"
-.Dd September 3, 2007
+.Dd September 13, 2007
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -222,6 +222,22 @@
these are the flags to pass to the
.Xr powerd 8
daemon.
+.It Va sensorsd_enable
+.Pq Vt bool
+Set to
+.Dq Li NO
+by default.
+Setting this to
+.Dq Li YES
+enables
+.Xr sensorsd 8 ,
+a sensors monitoring and logging daemon.
+.It Va sensorsd_flags
+.Pq Vt str
+Empty by default.
+This variable contains additional flags passed to the
+.Xr sensorsd 8
+program.
.It Va tmpmfs
Controls the creation of a
.Pa /tmp
@@ -3886,6 +3902,7 @@
.Xr rpc.statd 8 ,
.Xr rwhod 8 ,
.Xr savecore 8 ,
+.Xr sensorsd 8 ,
.Xr sshd 8 ,
.Xr swapon 8 ,
.Xr sysctl 8 ,
More information about the p4-projects
mailing list