It's not supported right now. (testing on my wrt54g router)

 

[EMAIL PROTECTED]:~# echo 1 > /tmp/1

[EMAIL PROTECTED]:~# echo 0 > /tmp/0

[EMAIL PROTECTED]:~# owwrite -s 3002 FF.710200000100/backlight < /tmp/1

Unpaired <path> <value> entry: FF.710200000100/backlight

 

[EMAIL PROTECTED]:~# owwrite -s 3002 FF.710200000100/backlight 1

[EMAIL PROTECTED]:~# owwrite -s 3002 FF.710200000100/backlight 0

these two works.

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: den 10 september 2007 16:59
To: [email protected]
Subject: Re: [Owfs-developers] Shell scripts and OWFS

 

On 9/10/07, C4Vette <[EMAIL PROTECTED]> wrote:


Paul, is it possible to redirect input from a file?
I have a LCD-display (giving me trouble crashing owserver) that I want to
'write' to like:
  owwrite -s localhost:3002 FF.8D0300000100/line16.1 < .... 
and then use a text-file or command substitution like  < `date'


It should just work.
FUSE may do something strange with piping inputs, though, so perhaps
pipe to a shell variable first. 

 

Ed

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to