#!/bin/sh # # Button event script # # $Id: button.sh,v 1.1.2.1 2011/07/22 14:45:30 misho Exp $ PRESSED=${1:-0} echo "Button pressed for $PRESSED seconds"