Return to reset.sh CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default |
1.1.2.1 ! misho 1: #!/bin/sh ! 2: # ! 3: # Reset button event script ! 4: # ! 5: # $Id: reset.sh,v 1.1.2.1 2014/02/08 00:05:07 misho Exp $ ! 6: ! 7: logger "Reset Button pressed event $1" ! 8: case "$1" in ! 9: click) ! 10: reboot ! 11: ;; ! 12: default) ! 13: /etc/rc.cfg erase ! 14: ;; ! 15: *) ! 16: echo "Error:: Unknown event $1" ! 17: exit 1 ! 18: ;; ! 19: esac