mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-26 14:46:15 +02:00
11 lines
248 B
Plaintext
11 lines
248 B
Plaintext
|
#!/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
|