[Nut-upsuser] Cannot move /bin/upsdrvctl to /sbin

Arnaud Quette aquette.dev at gmail.com
Tue Mar 13 16:51:37 CET 2007

2007/3/13, marc2 at rechte.fr <marc2 at rechte.fr>:
> Hi,
> In Red Hat /etc/init.d/halt script, it expects upsdrvctl to be in /sbin rather
> than /bin which sounds normal considering the power of that command.
> If I move this file to sbin, this is what I get when invoking it:
> [root at serveur1.sassine.eu nut-2.0.5]# mv /bin/upsdrvctl /sbin/
> [root at serveur1.sassine.eu nut-2.0.5]# which upsdrvctl
> /sbin/upsdrvctl
> [root at serveur1.sassine.eu nut-2.0.5]# upsdrvctl
> -bash: /bin/upsdrvctl: Aucun fichier ou répertoire de ce type

I don't know why it failed (it should work!) but you might prefer to
symlink one to the other.

Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/

More information about the Nut-upsuser mailing list