[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bluetooth-dev] Executing Script

On Tue, 8 Aug 2000, [iso-8859-1] Calvin Tsang wrote:
>       1> ./btd ~~~~~~~~~~~~~~~~
>       2> con 11:22:33:44:55:66 0
>       3> ppp
>       All I want to do is to do all these in a shot
> and later I can bring down the link and bring up
> another link in the other machine using /dev/ttyBT1.

make a file containing the commands, then try

./btd ba bla bla bla <file_with_commands

it should work unless btd exits if it catches an EOF on stdin. if it does
that, hack btd or you need to do something else...