[PATCH 4/4] libsensors: Read extra configuration files from /etc/sensors.d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 4, 2009 at 11:05 PM, Jean Delvare <khali at linux-fr.org> wrote:
> --- lm-sensors.orig/lib/init.c  2009-02-04 17:52:51.000000000 +0100
> +++ lm-sensors/lib/init.c       2009-02-04 17:52:51.000000000 +0100
> @@ -100,6 +106,47 @@ exit_cleanup:
>        return err;
>  }
>
> +static int config_file_filter(const struct dirent *entry)
> +{
> +       return entry->d_type == DT_REG
> +           || entry->d_type == DT_LNK
> +           || entry->d_type == DT_FIFO;
> +}

Hum, why pipes?

Luca



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux