+ Vishal

On 4 July 2012 16:33, YongQin Liu <[email protected]> wrote:

> Hi, All
>
> I have written a script used to connect the android with the wifi in our
> lava lab.
> Now we need to pass the ssid and password information to the script.
> But I think it's better to put the ssid and password in some place of our
> lava validation,
> then the script get the information from that place.
> Like put a file in /etc/lava/devices/wifi, and the content it contains
> like following:
>
> SSID=LAVA-WiFiTest01
> PASSWD=PASSWORD
> SSID2=LAVA-5GWiFiTest01
> PASSWD2=PASSWORD2
>
> then in the shell script, we can simply use
> "source /etc/lava/devices/wifi" to get the SSID and password information.
>
> And when we put the script into lava-android-test, we can trigger this
> script when we need in the test.
>
> How do you think about the place to put the devices information?
> is /etc/lava/devices/wifi ok? bluetooth should have the same problem I
> think.
>
>
> Thanks,
> Yongqin Liu.
>
>
_______________________________________________
linaro-validation mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-validation

Reply via email to