Return to button.sh CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / pceng |
ELWIX 2.5
#!/bin/sh # # Button event script # # $Id: button.sh,v 1.3 2017/02/13 16:52:47 misho Exp $ PRESSED=${1:-0} logger "Button pressed for $PRESSED seconds" if [ $PRESSED -gt 3 ]; then /etc/rc.cfg erase fi reboot