Project

General

Profile

« Previous | Next » 

Revision 17e3db6f

Added by Scott Ullrich over 16 years ago

Add sleep() after killing syslogd

View differences:

usr/local/www/diag_logs_vpn.php
50 50
		touch("/var/log/vpn.log");
51 51
	} else {
52 52
		exec("killall syslogd");
53
		sleep(1);
53 54
		if(file_exists("/var/log/vpn.log"))	
54 55
			unlink("/var/log/vpn.log");
55 56
		exec("/usr/sbin/fifolog_create -s 50688 /var/log/vpn.log");

Also available in: Unified diff