Hi, I just found a bug in systemd scripts. nut-driver.service.in and nutshutdown.in contains @SBINDIR@/upsdrvctl but it should be @driverexecdir@/upsdrvctl Cheers, Michal
2012/7/2 Michal Hlavinka <mhlavink at redhat.com>> Hi, >Hey Michal,> I just found a bug in systemd scripts. > nut-driver.service.in and nutshutdown.in contains > @SBINDIR@/upsdrvctl > > but it should be > > @driverexecdir@/upsdrvctl >thanks for your report, fixed in commit r3668: trac.networkupstools.org/projects/nut/changeset/3668 cheers, Arnaud -- Linux / Unix / Opensource Engineering Expert - Eaton - opensource.eaton.com Network UPS Tools (NUT) Project Leader - networkupstools.org Debian Developer - debian.org Free Software Developer - arnaud.quette.fr<arnaud.quette.free.fr> -------------- next part -------------- An HTML attachment was scrubbed... URL: <lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20120703/d09a1bb7/attachment.html>
On Jul 3, Arnaud Quette transmitted in part:> I just found a bug in systemd scripts. > nut-driver.service.in and nutshutdown.in contains > @SBINDIR@/upsdrvctl > > but it should be > > @driverexecdir@/upsdrvctl > > > thanks for your report, fixed in commit r3668: > trac.networkupstools.org/projects/nut/changeset/3668When I build my own nut packages, I put all the drivers in a /sbin/ups directory (leaving upsdrvctl in the usual place - like /sbin). This reduces clutter. Other packages put similar things in /usr/libexec/nut.