#!/usr/bin/env ucode // cmd [args] print('cmd ', ARGV, '\n'); // See the environment variables passed to this script: https://ucode.mein.io/module-core.html#getenv print(getenv(), '\n'); // https://openvpn.net/community-docs/community-articles/openvpn-2-6-manual.html#environmental-variables-177179 // https://openvpn.net/community-docs/community-articles/openvpn-2-6-manual.html#script-hooks-177179 /* do something */ // If script returns a non-zero error status, it will cause the client to be disconnected. exit(0);