mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-12-20 18:18:59 +02:00
11 lines
248 B
Bash
11 lines
248 B
Bash
#!/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
|