x220-acpi: Add acpi event scripts for Lenovo X220
[shutils.git] / lenovo-x220-linuxacpi / etc / acpi / actions / lm_lid.sh
1 #! /bin/sh
2
3 test -f /usr/sbin/laptop_mode || exit 0
4
5 # lid button pressed/released event handler
6
7 /usr/sbin/laptop_mode auto