aboutsummaryrefslogtreecommitdiff
path: root/src/lm_sensors
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2013-05-25 23:02:35 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-05-25 23:02:35 +0200
commiteeda5d3cf7da337119e257fa99ac77542514350f (patch)
treea510caa2e1fc6f5b35db20681931e9b51f5d405b /src/lm_sensors
parent57cd084ff2f96f001045a8849b68877e9db2f6d0 (diff)
downloadrcdscripts-eeda5d3cf7da337119e257fa99ac77542514350f.tar.xz
rcdscripts: import conf.d files sourced by init scripts2013.05.25
Unfortunately this import is not perfect, it's harder to detect and make a distinction between regular service configuration files, and conf.d configuration files used by old Arch Linux init scripts only. But we have a good number of them, around 70 now.
Diffstat (limited to 'src/lm_sensors')
-rw-r--r--src/lm_sensors/healthd.conf.d17
-rw-r--r--src/lm_sensors/sensord.conf.d4
-rw-r--r--src/lm_sensors/sensors.conf.d15
3 files changed, 36 insertions, 0 deletions
diff --git a/src/lm_sensors/healthd.conf.d b/src/lm_sensors/healthd.conf.d
new file mode 100644
index 0000000..a8b2c3f
--- /dev/null
+++ b/src/lm_sensors/healthd.conf.d
@@ -0,0 +1,17 @@
+#
+# /etc/conf.d/healthd
+#
+
+# reset any pending alarms on startup
+ALARM_RESET="yes"
+
+# where to sent mails on alarm
+ADMIN_EMAIL="root"
+
+# Seconds to sleep when alarm detected before checking again
+# If you want to fill up your mail inbox set this to 2. ;-)
+ALARM_SLEEP=600
+
+# command to run in background on each alarm
+# N.B.: If you choose to use the beep command, you'll need to install it: pacman -S beep
+ALARM_CMD="beep -f 800 -l 500 -d 500 -r 600"
diff --git a/src/lm_sensors/sensord.conf.d b/src/lm_sensors/sensord.conf.d
new file mode 100644
index 0000000..a1cf091
--- /dev/null
+++ b/src/lm_sensors/sensord.conf.d
@@ -0,0 +1,4 @@
+#
+# Parameters to be passed to sensord
+#
+SENSORD_ARGS=""
diff --git a/src/lm_sensors/sensors.conf.d b/src/lm_sensors/sensors.conf.d
new file mode 100644
index 0000000..fc067bd
--- /dev/null
+++ b/src/lm_sensors/sensors.conf.d
@@ -0,0 +1,15 @@
+# Generated by sensors-detect on Tue Dec 4 19:57:40 2012
+# This file is sourced by /etc/rc.d/sensors and defines the modules to
+# be loaded/unloaded.
+#
+# The format of this file is a shell script that simply defines variables:
+# HWMON_MODULES for hardware monitoring driver modules, and optionally
+# BUS_MODULES for any required bus driver module (for example for I2C or SPI).
+
+HWMON_MODULES=
+
+# For compatibility reasons, modules are also listed individually as variables
+# MODULE_0, MODULE_1, MODULE_2, etc.
+# You should use BUS_MODULES and HWMON_MODULES instead if possible.
+
+MODULE_0=