Feature #7449 » php_patch.txt
| 1 |  | 
|---|---|
| 2 | // please add me to /usr/local/pkg/openvpn-client-export.inc | 
| 3 | // after "write configuration file" block | 
| 4 | // line 610 | 
| 5 | //Geco network drive mod | 
| 6 |  | 
| 7 |         $geco_filestream = file_get_contents("/usr/local/share/openvpn/client-export/template/geco-template-up.bat");
 | 
| 8 |         file_put_contents("{$confdir}/{$prefix}-config_up.bat", $geco_filestream);
 | 
| 9 |  | 
| 10 |         $geco_filestream = file_get_contents("/usr/local/share/openvpn/client-export/template/geco-template-down.bat");
 | 
| 11 |         file_put_contents("{$confdir}/{$prefix}-config_down.bat", $geco_filestream);
 | 
| 12 |  | 
| 13 |         $geco_filestream = file_get_contents("/usr/local/share/openvpn/client-export/template/sleep.vbs");
 | 
| 14 |         file_put_contents("{$confdir}/sleep.vbs", $geco_filestream);
 | 
| 15 |  | 
- « Previous
- 1
- 2
- Next »