Update install.sh

This commit is contained in:
SpudGunMan
2024-12-27 13:55:41 -08:00
parent a029334576
commit 993fd760af
+2 -2
View File
@@ -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"