#! /bin/sh

ps | grep tty1
if [ $? = 0 ] && [ `whoami` = adis ]; then
	sudo poweroff
fi
