Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
11-13-2013, 06:49 AM
|
#1
|
Member
Registered: Jun 2008
Posts: 399
Rep:
|
Can we have a rc.openvpn in Slackware please
It seems to me that most, if not all, other programs meant to be run as daemons in Slackware get their rc script. However, openvpn still doesn't have one. Can we have a simple script which takes care of starting one openvpn instance for each config file ending in .ovpn or .conf in /etc/openvpn please.
I've been using the script found at the bottom of the following link for years - which is suitable for both server and client setups - but it seems to me that Slackware could do with having one by default:
http://openvpn.net/archive/openvpn-u.../msg00030.html
Last edited by xj25vm; 11-13-2013 at 06:54 AM.
Reason: Default location for .conf files has changed to /etc/openvpn it seems
|
|
|
11-14-2013, 12:17 AM
|
#2
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Never hurts to ask Mr. Volkerding if he can include a script for it, or even a sample script. Not a bad suggestion though.
+1 for a good idea.
Last edited by ReaperX7; 11-14-2013 at 12:18 AM.
|
|
|
11-14-2013, 03:03 AM
|
#3
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
Quote:
Never hurts to ask Mr. Volkerding if he can include a script for it, or even a sample script. Not a bad suggestion though.
|
Any idea how does one do that? Is there an "official" channel for new features suggestions for Slackware?
|
|
|
11-14-2013, 03:48 AM
|
#4
|
Senior Member
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425
Rep: ![Reputation: 139](https://www.linuxquestions.org/questions/images/reputation/reputation_pos.gif)
|
Just use your script as /etc/rc.d/rc.openvpn, make it executable and then add an entry at the bottom of /etc/rc.d/rc.M just before
Code:
# Start the local setup procedure.
if [ -x /etc/rc.d/rc.local ]; then
. /etc/rc.d/rc.local
fi
# All done.
Which is like this.
Code:
# Start the openvpn procedure.
if [ -x /etc/rc.d/rc.openvpn ]; then
. /etc/rc.d/rc.openvpn
fi
samac
Last edited by samac; 11-14-2013 at 03:49 AM.
|
|
|
11-14-2013, 04:05 AM
|
#5
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
Hmm - there seems to be a misunderstanding. I wasn't asking how to use the script - I've been using it for years - as per my first post.
As per my post above your reply, I was asking how would it be possible to suggest the script to Mr. Volkerding for inclusion in Slackware.
Last edited by xj25vm; 11-14-2013 at 04:06 AM.
|
|
|
11-14-2013, 04:19 AM
|
#6
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Patrick reads the forums, but you could try a private message.
|
|
|
All times are GMT -5. The time now is 09:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|