Return to button.sh CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedtools / etc |
added script for handling states
#!/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"