Page 1 of 1

Block linux boot until connected

Posted: Mon Nov 26, 2018 12:47 pm
For my current use case, I must ensure the system waits x amount of time for the VPN to be connected on boot. As I am somewhat new to Linux, I haven't been able to figure out how so far. I have a working script that starts an OpenVPN daemon on boot and everything is working correctly, calling said script as a pre-up for one of my normal eth interfaces. I guess I could make a script or program which waits for the result of the "up" script of my OpenVPN daemon, however I was hoping there was a more elegant solution to this.

additional info:
- This only concerns the client side