SDK - autoconfigure WiFi on the first boot after flashing

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
nitro2012
Posts: 2
Joined: Tue Aug 28, 2012 8:27 pm

SDK - autoconfigure WiFi on the first boot after flashing

Post 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

Post Reply