aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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