aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fix_backlight
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-30 19:58:35 +0200
committerDavid Runge <dave@sleepmap.de>2015-03-30 19:58:35 +0200
commitb59e4ecbc3f94a6959d44b3537704f9301a461ee (patch)
tree17a13a7012797cdfcbaa3dee77bfe0d7b63bcce5 /bin/fix_backlight
parent99ea2cdba60e6040301d4d83121f851b7f184f1a (diff)
downloaddotfiles-b59e4ecbc3f94a6959d44b3537704f9301a461ee.tar.gz
dotfiles-b59e4ecbc3f94a6959d44b3537704f9301a461ee.tar.bz2
dotfiles-b59e4ecbc3f94a6959d44b3537704f9301a461ee.tar.xz
dotfiles-b59e4ecbc3f94a6959d44b3537704f9301a461ee.zip
bin/fix_backlight: Removing unneeded script for setting proper backlight settings on W540.
Diffstat (limited to 'bin/fix_backlight')
-rwxr-xr-xbin/fix_backlight12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/fix_backlight b/bin/fix_backlight
deleted file mode 100755
index 00a6d8f..0000000
--- a/bin/fix_backlight
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-# Script to set backlight on startup on Lenovo W540 using
-# /sys/class/backlight/intel_backlight/brightness
-# This must be run as root.
-
-# check if root
-if [[ $EUID -ne 0 ]];then
- echo "This must be run as root."
-else
- # set to 234 (around 4th step)
- echo 234 > /sys/class/backlight/intel_backlight/brightness
-fi