On Tue, Feb 23, 2010 at 10:10:14AM -0700, Dave Smith wrote:
> I would love to write a bash script as simple as this:
> 
>    reboot-cable-modem.sh:
>    #!/bin/bash
>    echo 0 > /dev/ttyUSB0
>    sleep 5
>    echo 1 > /dev/ttyUSB0
> 
> Do you think it would be that simple?

Here are the example commands from the product page:

    on:  echo -e 'xFFx01x01' > /dev/ttyUSB0
    off: echo -e 'xFFx01x00' > /dev/ttyUSB0

-- 
Byron Clark

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to