try to fix rbeoot
This commit is contained in:
parent
e669c4cbce
commit
7037339cc4
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user