#!/bin/sh GC=`gconftool-2 --get /system/osso/af/keyboard-attached` if [ x$GC = xfalse ]; then gconftool-2 --set -t bool /system/osso/af/keyboard-attached true else gconftool-2 --set -t bool /system/osso/af/keyboard-attached false fi