From 011c2678dd96c070395e53cf997d051329b753e6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 28 Apr 2008 02:00:57 +0000 Subject: Add a shell interpriter --- etc/inc/openvpn.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'etc/inc') 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"); -- cgit v1.1