From aba9f58b757b578d9e7176e6200a3c57aa0a7693 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Wed, 27 Sep 2017 18:11:57 +0200 Subject: Attempt to fix missing carriage returns in resolv.conf --- make-boot-image.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/make-boot-image.sh b/make-boot-image.sh index 6faf09a..81c6ec4 100755 --- a/make-boot-image.sh +++ b/make-boot-image.sh @@ -478,10 +478,9 @@ case $1 in # Update resolver configuration file [ -n "$domain" ] && R="domain $domain" || R="" for i in $dns; do - R="$R - nameserver $i" + R="$R\nnameserver $i" done - echo $R > /etc/resolv.conf + echo -e "$R" > /etc/resolv.conf # Update in-kernel-memory hostname [ -n "$hostname" ] && hostname $hostname -- cgit v1.2.3