blob: 6821982901522b584ef83023b314edbd2cb0ab6a (
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_${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
}
|