In a debian build, I have a custom init.d script. I've also modified my network so that the connection to the WiFi is done in the background. How can I start my custom script, say custom.sh during boot up but have it actually run as soon as the network is brought up and connected?Currently, I was thinking of looping every x seconds, and everytime check to see if the network is up. Once is it up, then you jump out of the loop.
Start custom script after wifi interface comes online
wifi