1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-02-02 08:41:05 +02:00

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