On Mon, 22 Oct 2012 16:23:19 +0300, Adrian Sevcenco wrote: > On 10/22/2012 03:47 PM, Jean Delvare wrote: > > On Mon, 15 Oct 2012 12:22:10 +0300, Adrian Sevcenco wrote: > >> Hi! Is there a way to run sensors-detect in a non-interactive way? > >> I try to enable lm_sensors on a cluster and i find no way to do it.. > >> Is is possible to add switches like -y (yes all) or -d (default all) to > >> sensors detect? > > > > Proposal below. It doesn't feel too safe as random I2C adapters may > > still get probed. But it's definitely better that people trying to get > > a non-interactive sensors-detect using "yes |". > > Great, thanks! > is this applied to trunk or should i apply the patch to a fresh trunk > and rebuild? It's not committed yet as it was more of a RFC. You have to patch yourself or pick a pre-patched sensors-detect script at: http://khali.linux-fr.org/devel/misc/sensors-detect If testing/review is positive I'll commit it before the next release. -- Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors