Project

General

Profile

« Previous | Next » 

Revision c9f8d4f5

Added by Ermal Luçi about 16 years ago

Tell syslogd to not compress information to the following line is repeated N times. This unbreaks sshlockout_pf.

View differences:

etc/inc/system.inc
459 459
		fclose($fd);
460 460
		// Are we logging to a least one remote server ?
461 461
		if(strpos($syslogconf, "@") != false)
462
			$retval = system("/usr/sbin/syslogd -f {$g['varetc_path']}/syslog.conf");
462
			$retval = system("/usr/sbin/syslogd -c -f {$g['varetc_path']}/syslog.conf");
463 463
		else
464
			$retval = system("/usr/sbin/syslogd -f {$g['varetc_path']}/syslog.conf");
464
			$retval = system("/usr/sbin/syslogd -c -f {$g['varetc_path']}/syslog.conf");
465 465

  
466 466
	} else {
467
		$retval = mwexec("/usr/sbin/syslogd");
467
		$retval = mwexec("/usr/sbin/syslogd -c");
468 468
	}
469 469

  
470 470
	if ($g['booting'])

Also available in: Unified diff