summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-28 02:00:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-28 02:00:57 +0000
commit011c2678dd96c070395e53cf997d051329b753e6 (patch)
tree88a8a41a8b394cd124df5dba5742ba5cc5885f5d /etc/inc/openvpn.inc
parent0484b19829ddbbcf6be39a44a86fdfcd1fd0acac (diff)
downloadpfsense-011c2678dd96c070395e53cf997d051329b753e6.zip
pfsense-011c2678dd96c070395e53cf997d051329b753e6.tar.gz
Add a shell interpriter
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r--etc/inc/openvpn.inc1
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");
OpenPOWER on IntegriCloud