1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-04-21 12:27:27 +03:00

cgminer: add a simple monitor file for cron job

This commit is contained in:
Xiangfu
2012-05-20 18:05:35 +08:00
parent a459845e1e
commit f12878f893
2 changed files with 9 additions and 2 deletions

6
cgminer/files/cgminer-monitor Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
# This file is for cron job
if ! pidof cgminer; then
/etc/init.d/cgminer start
fi