aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/temper/temper_0.0.1.bb
blob: 170a5b72838653f0d05e9ed3c784bec58e9fba44 (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 = "r2"
LICENSE = "GPL"
COMPATIBLE_MACHINE = "(n1200|n2100)"
RDEPENDS_${PN} = "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
}