Merge pull request #137 from ifupdown-ng/fix/dhclient-executor-args
dhcp executor: Pass correct arguments to dhclient
This commit is contained in:
		
						commit
						71bc4b3dc9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -26,7 +26,7 @@ start() {
 | 
			
		|||
			optargs="$optargs -cf $IF_DHCP_CONFIG"
 | 
			
		||||
		fi
 | 
			
		||||
 | 
			
		||||
		${MOCK} /usr/sbin/dhclient -pf /var/run/dhclient.$IFACE.pid $optarts $IFACE
 | 
			
		||||
		${MOCK} /usr/sbin/dhclient -pf /var/run/dhclient.$IFACE.pid $optargs $IFACE
 | 
			
		||||
		;;
 | 
			
		||||
	udhcpc)
 | 
			
		||||
		optargs=$(eval echo $IF_UDHCPC_OPTS)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue