(comment)

This commit is contained in:
Qi Luo 2016-09-14 17:08:05 -07:00
parent 20d1ed42d5
commit 7b0b44ef12

View File

@ -11,6 +11,8 @@ echo 0 > /sys/class/gpio/gpio1/value
echo 0 > /sys/class/gpio/gpio2/value
# replace the original reboot binary with the following command
# sync flushes file system buffers
# i2cset command triggers a hard system reboot, required by ASIC to operate correctly
rm /sbin/reboot
cat <<EOF >> /sbin/reboot
#!/bin/sh