Changed files:
sensors_modules.init -> 1.4
start() {
# Check if the service is already running?
if [ ! -f /var/lock/subsys/sensors_modules ]; then
start() {
# Check if the service is already running?
if [ ! -f /var/lock/subsys/sensors_modules ]; then
- if [ -z "$BUS" ] || [ -z "$CHIP" ]; then
+ if [ -z "$BUS" ] && [ -z "$CHIP" ]; then
msg_starting "sensors modules"; fail
nls "BUS or CHIP not configured in /etc/sysconfig/sensors_modules" >&2
exit 6
msg_starting "sensors modules"; fail
nls "BUS or CHIP not configured in /etc/sysconfig/sensors_modules" >&2
exit 6