The problem was that although

        powercom -m "Advice Partner/King PR750" -s 00131581 /dev/ttyS

worked,

        `echo $DAEMON $ARGUMENTS`

did not.

[08:40:06 /tmp]# DAEMON=powercom
[08:41:59 /tmp]# ARGUMENTS='-m "Advice Partner/King PR750" -s 00131581  
/dev/ttyS1'
[08:42:09 /tmp]# echo $DAEMON $ARGUMENTS
powercom -m "Advice Partner/King PR750" -s 00131581 /dev/ttyS1
[08:42:17 /tmp]# `echo $DAEMON $ARGUMENTS`
Network UPS Tools - PowerCom UPS driver 0.01 (0.44.0-pre4)
Unable to open (1) Partner/King: No such file or directory
[08:42:25 /tmp]# 

After trying various combinations of single and double quotations I was 
suggested to use the eval command.
Since this seems to work I am currently using it. 
-- 
        
        --  Shaul Karl <[EMAIL PROTECTED]>

        Donate free food to the world's hungry: see http://www.thehungersite.com



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to