diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-04-28 01:54:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-04-28 01:54:49 +0000 |
commit | ccbc4bf7401170888c2b39a6b3c80895b3ac400b (patch) | |
tree | 1b12e43175bbbd5a473f87b7c11e8226f429c857 /etc/inc | |
parent | 33ab8aa543807f356561e0e8fc596ba01fb716a3 (diff) | |
download | pfsense-ccbc4bf7401170888c2b39a6b3c80895b3ac400b.zip pfsense-ccbc4bf7401170888c2b39a6b3c80895b3ac400b.tar.gz |
Make script executable.
Diffstat (limited to 'etc/inc')
-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 2f180d5..6d25c3b 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -312,6 +312,7 @@ function openvpn_server_create_cert($mode, $id) { fwrite($fd, "$easyrsapath/pkitool --batch --server server \n"); fwrite($fd, "openssl dhparam -out $ovpncapath/$caname/dh_params.dh $cakeysize \n"); fclose($fd); + system("/bin/chmod a+rx $ovpncapath/RUNME_2ND"); mwexec("/bin/tcsh $ovpncapath/RUNME_2ND"); $config['installedpackages']["openvpn$mode"]['config'][$id]['server.key'] = file_get_contents("$ovpncapath/$caname/server.key"); $config['installedpackages']["openvpn$mode"]['config'][$id]['server.crt'] = file_get_contents("$ovpncapath/$caname/server.crt"); |