Scripting Help

Discussion in 'privacy technology' started by n8chavez, Aug 15, 2015.

  1. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    2,302
    Location:
    Location Unknown
    I'm using the VPN client viscosity, based on OpenVPN, on my win10 x64 machine. It has the ability to run scripts before connection, during, and in the event of connection disconnect.

    I can't figure out why my disconnect script works, yet my pre-connect script does not. Viscosity is run as admin as best I can tell. It has to be, otherwise the disconnect script wouldn't run. The adapter name is correct. My goal would be to have the adapter disable itself at disconnect, then re-enable itself upon re-connection. Again, my disconnect script works (the adapter disables itself) but the Pre-Connect script does not, so the adapter never re-enables itself. Any thoughts as to what I'm doing wrong?

    disconnect script:

    Pre-Connect script:

    Thanks.

    n8
     
Loading...