Merge branch 'main-upstream'

This commit is contained in:
Sam Heinz
2024-08-08 06:56:12 +10:00
10 changed files with 183 additions and 76 deletions
+1
View File
@@ -39,6 +39,7 @@ msg_info "Creating user octoprint"
useradd -m -s /bin/bash -p $(openssl passwd -1 octoprint) octoprint
usermod -aG sudo,tty,dialout octoprint
chown -R octoprint:octoprint /opt
echo "octoprint ALL=NOPASSWD: $(command -v systemctl) restart octoprint, $(command -v reboot), $(command -v poweroff)" > /etc/sudoers.d/octoprint
msg_ok "Created user octoprint"
msg_info "Installing OctoPrint"