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:
Clint Byrum 2013-10-11 11:04:54 -07:00
parent 28190d5954
commit f96f705559
1 changed files with 1 additions and 1 deletions

View File

@ -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"