FS#19611 - [openvpn] initscript for more profiles
Attached to Project:
Arch Linux
Opened by Christian Hesse (eworm) - Thursday, 27 May 2010, 18:18 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 13 June 2011, 13:19 GMT
Opened by Christian Hesse (eworm) - Thursday, 27 May 2010, 18:18 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 13 June 2011, 13:19 GMT
|
Details
I have several openvpn configs, but I do not want to start
them all by default. I changed the initscript a bit, now you
need to link /etc/rc.d/openvpn.$config to /etc/rc.d/openvpn.
By starting /etc/rc.d/openvpn.$config you have full control
which vpn to start.
The patch for the initscript is attached. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Monday, 13 June 2011, 13:19 GMT
Reason for closing: Implemented
Additional comments about closing: netcfg 2.5.5-1
Monday, 13 June 2011, 13:19 GMT
Reason for closing: Implemented
Additional comments about closing: netcfg 2.5.5-1
The logic is currently like this: All openvpn config files ending with .conf are autostarted, all others are not. Maybe this is a bit too implicit, as this is the second bug report about it.
Can you suggest a solution that only involves changing /etc/openvpn/, but not /etc/rc.d/?
But I searched a bit and found netcfg-openvpn in AUR. That does exactly what I need (start *.conf with openvpn initscript, add netcfg configurations for /etc/openvpn/*.cfg) and I am perfectly happy with it so for. Feel free to close the task.
Also, it might be worth merging netcfg-openvpn into the default netcfg.