Blame SOURCES/lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings.patch

62a51f
From 198101f07f8f70a471596b16788af69c43c41ddc Mon Sep 17 00:00:00 2001
62a51f
From: Martin Sehnoutka <msehnout@redhat.com>
62a51f
Date: Wed, 1 Jun 2016 12:54:13 +0200
62a51f
Subject: [PATCH] lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings
62a51f
62a51f
---
62a51f
 prog/init/lm_sensors.service | 4 ++--
62a51f
 1 file changed, 2 insertions(+), 2 deletions(-)
62a51f
62a51f
diff --git a/prog/init/lm_sensors.service b/prog/init/lm_sensors.service
62a51f
index 7d3bf80..fb56a91 100644
62a51f
--- a/prog/init/lm_sensors.service
62a51f
+++ b/prog/init/lm_sensors.service
62a51f
@@ -5,9 +5,9 @@ Description=Initialize hardware monitoring sensors
56fdad
 EnvironmentFile=/etc/sysconfig/lm_sensors
56fdad
 Type=oneshot
56fdad
 RemainAfterExit=yes
56fdad
-ExecStart=-/sbin/modprobe -qab $BUS_MODULES $HWMON_MODULES
56fdad
+ExecStart=-/usr/libexec/lm_sensors/modprobe $BUS_MODULES $HWMON_MODULES
56fdad
 ExecStart=/usr/bin/sensors -s
56fdad
-ExecStop=-/sbin/modprobe -qabr $BUS_MODULES $HWMON_MODULES
56fdad
+ExecStop=-/usr/libexec/lm_sensors/modprobe-r $BUS_MODULES $HWMON_MODULES
56fdad
 
56fdad
 [Install]
56fdad
 WantedBy=multi-user.target
62a51f
-- 
62a51f
2.7.4
62a51f