openwrt-packages/utils/lm-sensors/files/lm-sensors.init

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
}