Package: apcupsd
Version: 3.12.4-2

If ISCONFIGURED in /etc/default/apcupsd commented
/etc/init.d/apcupsd fails with:

/etc/init.d/apcupsd: line 18: [: =: unary operator expected

Solution:
< if [ "$ISCONFIGURED" = no ]
---
> if [ $ISCONFIGURED = no ]

but imho, deamon must start only if variable exists..

--
sergio.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to