Commit 2167db67 authored by askarus's avatar askarus
Browse files

Added sudoers-file for sudo permission without password

parent e02d7983
Loading
Loading
Loading
Loading

install.sh

0 → 100755
+4 −0
Changes for install.sh: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
#!/bin/sh

sudo cp *.sh /usr/share/pyra/scripts/
sudo cp sudoers-file /etc/sudoers.d/pyra-scripts

sudoers-file

0 → 100644
+9 −0
Changes for sudoers-file: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
%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