diff --git a/scripts/install.sh b/scripts/install.sh index b21c4cb..82968d6 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -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"