Project

General

Profile

Bug #374 » services.inc.patch

fixes services.inc so the function services_parse_dhcp_hostnames() pulls in global $config and forks rc script in background - Adam Stylinski, 02/25/2010 08:22 PM

View differences:

services.inc.new 2010-02-25 20:18:55.000000000 -0500
39 39
*/
40 40

  
41 41
function services_parse_dhcpd_hostnames() {
42
	global $config;
42 43
	$ps = `ps awux | grep isc | grep -v grep | grep parse | awk '{ print $2 }'`;
43 44
	if($ps)
44 45
		exec("kill {$ps}");
......
1273 1274
	}
1274 1275
}
1275 1276

  
1276
?>
1277
?>
(2-2/2)