#!/bin/bash
if [ `cat /sys/devices/platform/thinkpad_acpi/hotkey_tablet_mode` = "1" ]
then
	/usr/local/bin/rotate tablet
	sleep 8
	killall -e rotate
else
	/usr/local/bin/rotate normal
fi
