mir3c/squashfs-root/usr/bin/reset_hold.sh

12 lines
103 B
Bash
Raw Normal View History

2018-05-25 08:49:31 +00:00
echo "gpio btn reset!"
nvram set restore_defaults=1
nvram commit
gpio 1 1
gpio 3 1
gpio 2 0
reboot