On 03/13/2007 05:51 PM, Arnaud Quette wrote:
2007/3/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
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:
[EMAIL PROTECTED] nut-2.0.5]# mv /bin/upsdrvctl /sbin/
[EMAIL PROTECTED] nut-2.0.5]# which upsdrvctl
/sbin/upsdrvctl
[EMAIL PROTECTED] 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.
symlink is not needed. this was bash hashing in action. solution is hash
-r or hash -d (see man page)
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser