Block linux boot until connected

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
TRJM
OpenVpn Newbie
Posts: 3
Joined: Mon Aug 13, 2018 12:16 pm

Block linux boot until connected

Post by TRJM » 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

Post Reply