Project

General

Profile

« Previous | Next » 

Revision 319cbd5e

Added by Ermal LUÇI almost 15 years ago

Correct binaries and find_dhclient_process

View differences:

etc/inc/interfaces.inc
2315 2315
}
2316 2316

  
2317 2317
function find_dhclient_process($interface) {
2318
	if($interface) {
2318
	if ($interface)
2319 2319
		$pid = `/bin/pgrep -xf "dhclient: {$interface}"`;
2320
	}
2320
	else
2321
		$pid = 0;
2322

  
2321 2323
	return $pid;
2322 2324
}
2323 2325

  
etc/inc/service-utils.inc
34 34
 */
35 35

  
36 36
/*
37
	pfSense_BUILDER_BINARIES:	/usr/bin/killall	/bin/sh	/bin/ps	
37
	pfSense_BUILDER_BINARIES:	/bin/pkill /bin/pgrep /bin/sh /usr/bin/killall
38 38
	pfSense_MODULE:	utils
39 39
*/
40 40

  

Also available in: Unified diff