diff options
author | Tim 'timtim' Ellis <tim.ellis@foonas.org> | 2009-01-23 19:07:42 +0000 |
---|---|---|
committer | Tim 'timtim' Ellis <tim.ellis@foonas.org> | 2009-01-23 19:07:42 +0000 |
commit | f100ce481378316dae03c2d72f060d897bd37b01 (patch) | |
tree | f70d277f4e0c6129af55efb5e5caff5703b43e8c /packages/temper/temper_0.0.1.bb | |
parent | c914f8705032943d8cb2d8504ab7473fa98194cc (diff) |
temper: Add init script before my n1200 melts.
Diffstat (limited to 'packages/temper/temper_0.0.1.bb')
-rw-r--r-- | packages/temper/temper_0.0.1.bb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/packages/temper/temper_0.0.1.bb b/packages/temper/temper_0.0.1.bb index ce4bed0b4a..2d6679dc9b 100644 --- a/packages/temper/temper_0.0.1.bb +++ b/packages/temper/temper_0.0.1.bb @@ -1,13 +1,19 @@ DESCRIPTION = "A fan control script for the Thecus n1200 or n2100" SECTION = "console/network" -PR = "r0" +PR = "r1" LICENSE = "GPL" COMPATIBLE_MACHINE = "(n1200|n2100)" RDEPENDS = "hddtemp" -SRC_URI = "file://temper" +SRC_URI = "file://temper \ + file://init" + +inherit update-rc.d + +INITSCRIPT_NAME = "temper" +INITSCRIPT_PARAMS = "defaults" do_install() { - install -d ${D}/usr/sbin install -D -m 0755 ${WORKDIR}/temper ${D}/usr/sbin/temper + install -D -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/temper } |