Commit 2167db67 authored by askarus's avatar askarus

Added sudoers-file for sudo permission without password

parent e02d7983
#!/bin/sh
sudo cp *.sh /usr/share/pyra/scripts/
sudo cp sudoers-file /etc/sudoers.d/pyra-scripts
%sudo ALL=(ALL) NOPASSWD: /usr/share/pyra/scripts/pyra-keyboard-brightness.sh
%sudo ALL=(ALL) NOPASSWD: /usr/share/pyra/scripts/pyra-keyboard-brightness-down.sh
%sudo ALL=(ALL) NOPASSWD: /usr/share/pyra/scripts/pyra-keyboard-brightness-up.sh
%sudo ALL=(ALL) NOPASSWD: /usr/share/pyra/scripts/pyra-keyboard-toggle.sh
%sudo ALL=(ALL) NOPASSWD: /usr/share/pyra/scripts/pyra-led-brightness.sh
%sudo ALL=(ALL) NOPASSWD: /usr/share/pyra/scripts/pyra-led-trigger.sh
%sudo ALL=(ALL) NOPASSWD: /usr/share/pyra/scripts/pyra-screen-brightness.sh
%sudo ALL=(ALL) NOPASSWD: /usr/share/pyra/scripts/pyra-screen-brightness-down.sh
%sudo ALL=(ALL) NOPASSWD: /usr/share/pyra/scripts/pyra-screen-brightness-up.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment