Bridge-Start Script Sequense Before OPENVPN on boot

Simple all you need to a .conf file in /etc/openvpn and the daemon will startup when booting. However when running a bridged vpn one is required to start the bridge first:

The OpenVPN bridge can now be started and stopped using this sequence::
* run bridge-start
* run openvpn
* stop openvpn
* run bridge-stop

The question is how can I have the bridge-start script run before the daemon starts openvpn when then server boots ?

Is it advisable or safe to edit the script /etc/init.d/openvpn ?

Always appreciative...
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mubama0nAuthor Commented:
Just I would like to Add that I have the following message After Starting my Openvpn on the (Client):

Cannot ioctl TUNSETIFF tap0: Device or resource busy (errno=16)

Cannot open TUN/TAP dev /dev/tap0: No such file or directory (errno=2) ...

The startup scripts are usually inside /etc/init.d and then there are symlinks for those scripts inisde the runlevels, /etc/rc1.d..../etc/rc6.d. The Symlinks to start a script use SxxScriptname in their filenames, where S stands for start, xx is a number between 00 and 99. The lower number starts before the higher number, so if your symlinks are S10bridge-start, S12OpenVPN, then the bridge script will start before the VPN because of the numbers S10 and S12. If the Symlinks were named S12bridge-start and S10OpenVPN, then the OpenVPN script would start before the Bridge Script.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.