[Nut-upsuser] 2.2.2-pre2 64 bit rpm tested on openSUSE 10.3
Arjen de Korte
nut+users at de-korte.org
Sun Apr 20 14:52:40 UTC 2008
Arjen de Korte wrote:
>> # /etc/ups/upssched.conf
>> CMDSCRIPT /usr/sbin/upssched-cmd
>> #PIPEFN /var/state/ups/upssched.pipe
>> #LOCKFN /var/state/ups/upssched.lock
>> PIPEFN /var/run/ups/upssched.pipe
>> LOCKFN /var/run/ups/upssched.lock
>> AT ONBATT * START-TIMER ups-on-battery-timer 121
>> AT ONLINE * CANCEL-TIMER ups-on-battery-timer
>> AT ONBATT * EXECUTE ups-on-battery
>> AT ONLINE * EXECUTE ups-back-on-line
>>
>> There is no /var/state in openSUSE 10.3, so I changed PIPEFN and LOCKFN to
>> /var/run and defined directory /var/run/ups.
>
> We need a pre3 to fix this since this has been a long standing bug. This
> path is hardcoded in the example configuration, where running
> ./configure should set this path properly. In fact, Charles fixed this
> in the trunk, but apparently we didn't backport the fix to Testing. Good
> catch!
Never mind the above. Apparently, you're using an older upssched.conf
file. This should be fixed in the .spec file I use.
Best regards, Arjen
More information about the Nut-upsuser
mailing list