Skip to content

Instantly share code, notes, and snippets.

View lpasselin's full-sized avatar

Louis-Philippe Asselin lpasselin

View GitHub Profile
@lpasselin
lpasselin / ThinkLight
Created July 10, 2016 03:29 — forked from vzaliva/ThinkLight
This script controll keyboard backlight on IBM ThinkPad X-series
#!/bin/bash
# Vadim Zaliva lord@crocodile.org
# based on https://gist.github.com/hadess/6847281
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi