mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 03:41:44 +00:00
0ebe9edb41
"sensors -s" needs to happen at boot-time so that any "set" statements in sensors.conf file can take effect. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
15 lines
214 B
Bash
15 lines
214 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2017 Philip Prindeville, Redfish Solutions LLC
|
|
|
|
START=28
|
|
STOP=
|
|
|
|
PROG=/usr/sbin/sensors
|
|
|
|
start() {
|
|
[ -f /etc/sensors.conf -o -f /etc/sensors3.conf ] || return
|
|
|
|
$PROG -s
|
|
}
|
|
|