[Nut-upsdev] Re: [nut-commits] svn commit r831 - in trunk: . docs
scripts
Peter Selinger
selinger at mathstat.dal.ca
Tue Feb 27 21:28:42 CET 2007
That's an excellent point.
However, if the user specifies a list of drivers with
--with-drivers=driver[,driver...], then it is not so easy to detect
whether any of these require USB support. For this, the configure
script would have to contain a list of USB drivers, which adds one
more thing to update that could easily be forgotten.
Is it a problem to install the hotplug/udev rules, even when no USB
driver has been requested? By default, this will only be done if the
corresponding directory exists, so should not give any errors or
strange behavior. The rule will never do anything unless a known UPS
is plugged into the USB port, in which case it's probably desired.
-- Peter
Arjen de Korte wrote:
>
>
> > Added:
> > trunk/scripts/hotplug/Makefile.am
> > trunk/scripts/udev/Makefile.am
> > Modified:
> > trunk/ChangeLog
> > trunk/Makefile.am
> > trunk/configure.in
> > trunk/docs/configure.txt
> > trunk/scripts/Makefile.am
> > trunk/scripts/hotplug/ (props changed)
> > trunk/scripts/udev/ (props changed)
> > trunk/scripts/udev/README
> > Log:
> > - autoconf: try to install hotplug and/or udev files by default. New
> > configuration options --with-hotplug-dir=3DPATH and --with-udev-dir=3D=
> PATH.
>
> Maybe we could add a condition that --without-usb is not set. I usually
> compile with just one driver enabled (a non-USB one), yet the installatio=
> n
> insisted on installing the hotplug and udev rules anyway.
>
> Best regards, Arjen
> --=20
> Eindhoven - The Netherlands
> Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
>
More information about the Nut-upsdev
mailing list