aboutsummaryrefslogtreecommitdiff
path: root/light2.sh
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-02-21 17:15:31 +0100
committerache <ache@ache.one>2018-02-21 17:15:31 +0100
commit32be85d6e891f934d7a96c49da6a86101dae3f72 (patch)
treea7adecdb4734802f3e28ce9c5d7fc3393923a1ae /light2.sh
parent[autoDHCP] ake iptables (diff)
Remove unecessary part of ligth2
Diffstat (limited to 'light2.sh')
-rwxr-xr-xlight2.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/light2.sh b/light2.sh
index 40b9410..54c480a 100755
--- a/light2.sh
+++ b/light2.sh
@@ -12,18 +12,6 @@ else
val="$1"
fi
-right="sudo"
-for r in `groups`; do
- if [ $r == "video" ] ; then
- right=""
- fi
-done
-
-
-if [ -n right ] ; then
- echo 'To not use sudo, add yourself to the group "video"'
-fi
-
if [ -n "$listBacklight" ] ; then
for backlight in "$listBacklight"
do