From 993fd760af87558dac2e195a9d6b595a984f476f Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 27 Dec 2024 13:55:41 -0800 Subject: [PATCH] Update install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 27d7e76..e9ee893 100755 --- a/install.sh +++ b/install.sh @@ -147,9 +147,9 @@ sed -i $replace etc/mesh_bot_reporting.service # set the correct user in the service file? #ask if we should add a user for the bot -printf "\nDo you want to add a user (meshbot) no login for the bot? (y/n)" +printf "\nDo you want to add a user (meshbot) no login, for the bot? (y/n)" read meshbotservice -if [ $meshbotservice == "y" ]; then +if [ $meshbotservice == "y" ] || [ $embedded == "y" ]; then sudo useradd -M meshbot sudo usermod -L meshbot echo "Added user meshbot with no home directory"