summaryrefslogtreecommitdiff
path: root/recipes/temper/temper_0.0.1.bb
blob: 2d6679dc9b3205b8fc835f2438f357ca278a5d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "A fan control script for the Thecus n1200 or n2100"
SECTION = "console/network"
PR = "r1"
LICENSE = "GPL"
COMPATIBLE_MACHINE = "(n1200|n2100)"
RDEPENDS = "hddtemp"

SRC_URI = "file://temper \
           file://init"

inherit update-rc.d

INITSCRIPT_NAME = "temper"
INITSCRIPT_PARAMS = "defaults"

do_install() {
	install -D -m 0755 ${WORKDIR}/temper ${D}/usr/sbin/temper
	install -D -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/temper
}