diff options
-rw-r--r-- | etc/inc/openvpn.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 264fce8..aaf650a 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -308,6 +308,7 @@ function openvpn_server_create_cert($mode, $id) { $easyrsapath = $g['easyrsapath']; config_lock(); $fd = fopen($ovpncapath . "/RUNME_2ND", "w"); + fwrite($fd, "/bin/tcsh\n"); fwrite($fd, "cd $ovpncapath \n"); fwrite($fd, "source $ovpncapath/$caname/vars \n"); fwrite($fd, "$easyrsapath/pkitool --batch --server server \n"); |