mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 14:34:04 +02:00
cgminer sleep 30s for ntpd update time
This commit is contained in:
parent
48ca65d95d
commit
a459845e1e
@ -12,7 +12,7 @@ PKG_NAME:=cgminer
|
|||||||
PKG_VERSION:=20120516
|
PKG_VERSION:=20120516
|
||||||
PKG_REV:=b69d735cfe468c489a24677ffef1d6d998818cac
|
PKG_REV:=b69d735cfe468c489a24677ffef1d6d998818cac
|
||||||
# this is upstream version 2.4.1
|
# this is upstream version 2.4.1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
|
||||||
|
@ -7,7 +7,7 @@ if [ "${PRODUCT}" = "67b/2303/400" ] && [ "$TYPE" = "0/0/0" ] && [ "$INTERFACE"
|
|||||||
add)
|
add)
|
||||||
killall -s 9 sleep
|
killall -s 9 sleep
|
||||||
killall -s 9 cgminer
|
killall -s 9 cgminer
|
||||||
sleep 8 && /etc/init.d/cgminer start &
|
sleep 30 && /etc/init.d/cgminer start &
|
||||||
;;
|
;;
|
||||||
remove)
|
remove)
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user