#! /bin/sh ATI=/usr/bin/X11/aticonfig test -x "$ATI" || exit 0 test -z "$1" && exit 0 . /usr/local/sbin/ibm-common.sh eval $(get_display) check_display || exit 0 export DISPLAY su $USER -c "$ATI --set-powerstate=$1 2>&1" exit 0