Project

General

Profile

« Previous | Next » 

Revision 3edfe694

Added by Viktor Gurov over 5 years ago

working

View differences:

src/etc/rc.bootup
202 202
setup_microcode();
203 203
echo "done.\n";
204 204

  
205
/* pcscd daemon must be started before IPsec */
206
echo "PC/SC Smart Card Services...";
207
mwexec_bg("/usr/local/sbin/pcscd");
208
echo "done.\n";
209

  
205 210
if (isset($config['system']['mds_disable']) &&
206 211
    (strlen($config['system']['mds_disable']) > 0)) {
207 212
	set_single_sysctl("hw.mds_disable" , (int)$config['system']['mds_disable']);
src/usr/local/www/vpn_ipsec_phase1.php
651 651
	preg_match_all('/ID\s+: (.*)/', $output, $p11_id);
652 652

  
653 653
	if (is_array($p11_id)) {
654
		for ($i = 0; $i < count($p11_id); $i++) {
654
		for ($i = 0; $i < count($p11_id) - 1; $i++) {
655 655
			$list[$p11_id[1][$i]] = $p11_cn[1][$i];
656 656
		}
657 657
	}

Also available in: Unified diff