Return to button.sh CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / pceng |
changed scripts
#!/bin/sh # # Button event script # # $Id: button.sh,v 1.1.2.2 2011/10/24 23:30:17 misho Exp $ PRESSED=${1:-0} logger "Button pressed for $PRESSED seconds" if [ $PRESSED -gt 3 ]; then halt -p else reboot fi