try to fix rbeoot

This commit is contained in:
Chris Wanstrath 2025-10-01 15:28:12 -07:00
parent e669c4cbce
commit 7037339cc4

View File

@ -51,7 +51,7 @@ echo ">> Starting (or restarting) $SERVICE_NAME"
sudo systemctl restart "$SERVICE_NAME"
echo ">> Giving NOSE reboot access"
echo "nose ALL=(ALL) NOPASSWD: /sbin/reboot" | sudo tee /etc/sudoers.d/nose-reboot
echo "nose ALL=(ALL) NOPASSWD: /sbin/reboot, /usr/sbin/reboot" | sudo tee /etc/sudoers.d/nose-reboot
sudo chmod 440 /etc/sudoers.d/nose-reboot
echo ">> Enabling kiosk mode"