Hi,
i'm going to write a script that flashes all AccessPoints in our network, with an expect script.
Unfortunately the following code doesn't work (:
Code:
spawn cat <file> | ssh root@$ip mtd -r -e linux write - linux
cat: invalid option -- o
Try `cat --help' for more information.
So it doesn't understand the pipe thing anymore.
Is there a way to get this command working? Thanks in Advance!