On Jun 20, 2013, at 9:48 PM, Reed Hedges wrote:

> UPSPORT=/dev/ttyS0
>  
> # type   cablep  kill          t              powerok              battok   
> cableok
> robot     ---           RI            0              /RI                      
>     ---           ---
> …
>  
> Is there an equivalent of “---“ in genericups?

I think it's pretty much any value other than a valid signal name. The man page 
mentions "none" and "???" in various places.

What about something like this?

[robot]
        driver = genericups
        port = /dev/ttyS0
        upstype = 9
        CP = none
        SD = none
        OL = -RNG
        LB = RNG

(The upstype setting is arbitrary in this case, as all of the settings get 
overridden.)

-- 
Charles Lepple
clepple@gmail




_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to