From 6463d28f89d272ef7188121ffce65290effea3ca Mon Sep 17 00:00:00 2001 From: Brian Orpin Date: Fri, 15 Sep 2023 12:32:35 +0100 Subject: [PATCH] Update install.sh fix echo command --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6887ae58..aab08dfb 100755 --- a/install.sh +++ b/install.sh @@ -138,7 +138,7 @@ if [ "$user" != "pi" ]; then if [ ! -d /lib/systemd/system/emonhub.service.d ]; then sudo mkdir /lib/systemd/system/emonhub.service.d fi - echo $'[Service]\nUser='$user'\nEnvironment="USER='$user'"' > emonhub.service.conf + echo $'[Service]\nUser='$user$'\nEnvironment="USER='$user'"' > emonhub.service.conf sudo mv emonhub.service.conf /lib/systemd/system/emonhub.service.d/emonhub.conf fi sudo systemctl daemon-reload