|
|
On Mon, 4 Apr 2005, Rusty Miller wrote: > Greetings, > > I installed OpenVPN on a Fedora Core 3 PC, using the method of building a > RPM from the source tarball. > > As I have the server running in bridged mode, I (think I) need > "bridge-start" to be executed at system startup, before the openvpn service > starts. From peeking at /etc/init.d/openvpn I saw that you can add an .sh > file to be executed before the .conf. Is this the proper method I should > use for what I'm trying to accomplish? i.e. simply making a server.sh file > with the contents something like "./bridge-start"? Or is there a better > way? Yes, the OpenVPN init script will execute a .sh script before it starts the .conf. But it will also (as of 2.0-rc20) execute /etc/openvpn/openvpn-startup, if it exists, on startup of the init script, and openvpn-shutdown on shutdown. This may be a better place to put certain kinds of scripting which needs to be executed once, before any OpenVPN .conf files or their related .sh files are started. James ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-04/msg00043.html on line 202 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-04/msg00043.html on line 202 |