7 lines
191 B
Bash
7 lines
191 B
Bash
#!/bin/bash
|
|
|
|
sudo tee /etc/sudoers.d/omarchy-tzupdate >/dev/null <<EOF
|
|
%wheel ALL=(root) NOPASSWD: /usr/bin/tzupdate, /usr/bin/timedatectl
|
|
EOF
|
|
sudo chmod 0440 /etc/sudoers.d/omarchy-tzupdate
|