From fc2a436c7ec38469d263746ca58d8e5453be749f Mon Sep 17 00:00:00 2001 From: cimryan Date: Sun, 14 Oct 2018 20:47:32 -0700 Subject: [PATCH] Fix the setting of the host name. --- windows_archive/setup-teslausb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows_archive/setup-teslausb b/windows_archive/setup-teslausb index 8f6bc0f..63962ff 100644 --- a/windows_archive/setup-teslausb +++ b/windows_archive/setup-teslausb @@ -126,10 +126,10 @@ function configure_hostname () { local new_host_name="teslausb" cp /etc/hosts ~ - sed 's/raspberrypi/$new_host_name/g' ~/hosts > /etc/hosts + sed "s/raspberrypi/$new_host_name/g" ~/hosts > /etc/hosts cp /etc/hostname ~ - sed 's/raspberrypi/$new_host_name/g' ~/hostname > /etc/hostname + sed "s/raspberrypi/$new_host_name/g" ~/hostname > /etc/hostname echo "Configured the hostname." }