forked from michaelroland/wdnas-hwdaemon
-
Notifications
You must be signed in to change notification settings - Fork 5
/
wdhwd.conf
46 lines (37 loc) · 1.27 KB
/
wdhwd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[wdhwd]
# Unprivileged user/group to drop privileges to
user=wdhwd
group=wdhwd
# Poll full PMC status on boot
#pmc_test_mode=on
# Settings for DL2100 / DL4100
#pmc_port=/dev/ttyS0
#hwmon=0
#memory_dimms_count=2
# Settings for PR2100 / PR2100 with SERIAL_8250_LPSS enabled in kernel
pmc_port=/dev/ttyS2
hwmon=1
# Temperature monitoring
#disk_drives=["/dev/sda", "/dev/sdb"]
# DL2100 / DL4100 / PR4100
# disable the memory checker for now
memory_dimms_count=0
# Socket for interacting with the hardware controller daemon
socket_path=/run/wdhwd/hws.sock
#socket_max_clients=10
# Logging
log_file=/var/log/wdhwd/daemon.log
log_level=warning
# Script dir
scripts=/usr/local/lib/wdhwd/scripts
# Notification commands
system_up_command=%(scripts)s/system_up.sh
system_down_command=%(scripts)s/system_down.sh
drive_presence_changed_command=%(scripts)s/drive_presence_changed.sh
#drive_presence_changed_args=["{drive_bay}", "{drive_name}", "{state}"]
power_supply_changed_command=%(scripts)s/power_supply_changed.sh
#power_supply_changed_args=["{socket}", "{state}"]
temperature_changed_command=%(scripts)s/temperature_changed.sh
#temperature_changed_args=["{new_level}", "{old_level}"]
lcd_button_pressed_command=%(scripts)s/lcd_show.sh
usb_button_pressed_command=%(scripts)s/usb_button_pressed.sh