1 2 3 4 5 6
#!/bin/sh D=/run/media/mmcblk0p1 $D/deonebook -R > $D/eonebook.hex exec $D/eonebook || shutdown -h now