From: Darrick H. <dha...@dj...> - 2007-02-17 22:06:29
|
Lonnie Abelbeck wrote: > Darrick, > > Thanks... quick look, looks great. > > 1) Line 94 of your /etc/init.d/openvpn needs another "fi" > > 94: fi > 95: fi > 96: } Good catch. I moved a few other things around too. Check rev 592. > 2) So if I include "sysctl -w net.ipv4.ip_forward=1" on my rc.local > keydisk, no problem that this gets called a bunch of times? If that's called multiple times, it is not going to cause any harm. Overkill, but no harm. > 3) How about my NO_ASTERISK (exit) variable in /etc/init.d/asterisk ? Forgot about that one... I'd like Kristian's input on this one. We'd need a variable in rc.conf to not start asterisk. Then a check in the asterisk init script to check for this variable and exit cleanly if it's found. There may be another way to accomplish this though. We may want a list of services which should be started at boot or perhaps a list of disabled services. It would be nice to include openser in the stock Astlinux image, but if both asterisk and openser are started, there may be some issues. As a reminder, what Lonnie is doing is using an instance of Astlinux to provide an openvpn end point. He didn't want asterisk started. (no need to in this case). Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |