Return to button.sh CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / pceng |
restore to default
#!/bin/sh # # Button event script # # $Id: button.sh,v 1.2.18.1 2014/09/17 15:51:35 misho Exp $ PRESSED=${1:-0} logger "Button pressed for $PRESSED seconds" if [ $PRESSED -gt 3 ]; then /etc/rc.cfg erase fi reboot