Root/cgminer/root-files/etc/uci-defaults/01-cgminer

Source at commit 25b0a63d4dbda61c994166c906ccb692c3a1cf5f created 7 years 5 months ago.
By Xiangfu, cgminer: update to 2.10.4, include root-files
1#!/bin/sh
2
3# Disable cgminer. because there is hotplug.d already
4/etc/init.d/cgminer enable
5
6# Setup the cron job
7echo "*/5 * * * * /usr/bin/cgminer-monitor" | crontab -
8/etc/init.d/cron enable
9/etc/init.d/cron stop
10/etc/init.d/cron start
11

Archive Download this file



interactive