1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-01 20:39:44 +02:00
openwrt-packages/cgminer/root-files/etc/uci-defaults/01-cgminer

11 lines
248 B
Plaintext
Raw Normal View History

#!/bin/sh
# Disable cgminer. because there is hotplug.d already
/etc/init.d/cgminer enable
# Setup the cron job
echo "*/5 * * * * /usr/bin/cgminer-monitor" | crontab -
/etc/init.d/cron enable
/etc/init.d/cron stop
/etc/init.d/cron start