i want to start a bash script in ubuntu after boot. But the script should run first after wlan0 device is connected to my wifi.
How can i achieve this?
|
|
|
I'd start it at boot and let it wait until wlan0 is connected. You can check this via
|
|||||
|
|
In Ubuntu you can use upstart for this. Save the following as /etc/init/yourscript.conf
|
|||