Remove \r chars from dhcp-all-interfaces
For some reason we are adding CR's to/etc/network/interfaces, but it does not require them. They are a bit annoying to see in an editor and serve no known purpose there. Change-Id: I9aeeff5533f418f09fcf33edd42e5d85cd486d23
This commit is contained in:
		| @@ -35,7 +35,7 @@ for interface in $(ls /sys/class/net | grep -v ^lo$) ; do | ||||
|       TRIES=$(( TRIES - 1 )) | ||||
|     done | ||||
|     if [ "$HAS_LINK" == "1" ] ; then | ||||
|       printf "auto $interface\r\niface $interface inet dhcp\r\n\r\n" >>$INTERFACES_FILE | ||||
|       printf "auto $interface\niface $interface inet dhcp\n\n" >>$INTERFACES_FILE | ||||
|       echo "Configured" | ||||
|     else | ||||
|       echo "No link detected, skipping" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Clint Byrum
					Clint Byrum