Starting VPN in profiles. SCPM gets stuck.
I'm using SCPM, to start profiles for dhcp or wifi. One thing I'd like to do, is have OpenVPN started by running a script, via the "Post Start Script" box, in SCPM. However, I'm running into a problem, in that SCPM won't complete the profile change, until that script stops, which doesn't happen, until the OpenVPN is shut down. I've tried adding a "&" to the end of the command, but it doesn't make any difference. Any ideas as to how I can get around this? tnx jk
James Knott wrote:
I'm using SCPM, to start profiles for dhcp or wifi. One thing I'd like to do, is have OpenVPN started by running a script, via the "Post Start Script" box, in SCPM. However, I'm running into a problem, in that SCPM won't complete the profile change, until that script stops, which doesn't happen, until the OpenVPN is shut down. I've tried adding a "&" to the end of the command, but it doesn't make any difference.
Any ideas as to how I can get around this?
tnx jk
I've found a way to fix this problem. If I use the --daemon option in OpenVPN, the script completes and lets SCPM finish.
participants (1)
-
James Knott