Hiya, I was taking a look at the scripts that come with with OpenVPN tarball and wondered why 'verify-cn' is written in Perl. Specially when the rest of the scripts are written in shell/bash. Any particular reason? I mean, running it in shell should be, if not a bit faster, more light on things OpenVPN depends on (i.e. not requiring Perl).
I haven't tested this one (see attach) thoroughly but it seems to do the job. Thoughts? -- Alberto Gonzalez Iniesta | BOFH excuse #5: agi@(agi.as|debian.org) | static from plastic slide rules Encrypted mail preferred | Key fingerprint = 9782 04E7 2B75 405C F5E9 0C81 C514 AF8E 4BA4 01C3
verify-cn.sh
Description: Bourne shell script