This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Auto-reboot script for ethOS 1.2.9 | |
# https://trick77.com/auto-restart-crashed-mining-processes-ethos | |
# | |
# This script will automatically reboot the mining rig depending on the reported | |
# mining status in ethOS. | |
# - The script should be triggered every 15 minutes from a cron job. | |
# - May or may not work with other ethOS versions than indicated above. | |
# |