mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Prevent polkit error on reboot (fixes #2175)
This commit is contained in:
5
install/post-install/allow-reboot.sh
Normal file
5
install/post-install/allow-reboot.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
# Allow passwordless reboot for the installer - removed in first-run
|
||||
sudo tee /etc/sudoers.d/99-omarchy-installer-reboot >/dev/null <<EOF
|
||||
$USER ALL=(ALL) NOPASSWD: /usr/bin/reboot
|
||||
EOF
|
||||
sudo chmod 440 /etc/sudoers.d/99-omarchy-installer-reboot
|
||||
Reference in New Issue
Block a user