Page 1 of 1

SDK - autoconfigure WiFi on the first boot after flashing

Posted: Tue Aug 28, 2012 9:22 pm
by nitro2012
Hi,

I have question:

I would like add these lines to Gargoyle SDK:

Code: Select all

rm -f /etc/config/wireless
wifi detect > /etc/config/wireless
uci set wireless.radio0.disabled=0
wifi
but I don't know where I must put these lines in file and in which.

When I will compile the image and flashing to the router, when router will boot the first time, it's would like use these lines and run wifi.


And so the question: where do I put them?

Thanks for your help