13 lines
205 B
Bash
Executable file
13 lines
205 B
Bash
Executable file
#!/bin/bash
|
|
logger -t unstuck "unstuck $(date)"
|
|
|
|
killall tmux
|
|
gpio mode 2 output
|
|
gpio mode 3 output
|
|
gpio write 2 0
|
|
gpio write 3 0
|
|
sudo modprobe -r i2c_dev
|
|
sudo modprobe -r i2c_bcm2708
|
|
|
|
sleep 1
|
|
~/reboot.sh
|