first-boot-wizard.sh: Removed second 800MHz profile (not needed anymore).
[openpandora.oe.git] / recipes / pandora-system / pandora-state.bb
1 DESCRIPTION = "Save and restore some specific Pandora settings on shutdown / startup"
2 LICENSE = "GPLv2"
3
4 COMPATIBLE_MACHINE = "omap3-pandora"
5
6 RDEPENDS = "pandora-scripts"
7
8 PR = "r12"
9 inherit update-rc.d
10
11 INITSCRIPT_NAME = "pandora-state"
12 INITSCRIPT_PARAMS = "start 39 S . stop 31 0 1 6 ."
13
14 SRC_URI = " \
15           file://rc.pandora-state \
16           file://gamma.state \
17           file://brightness.state \
18           file://nubs.state \
19           file://dirty_expire_centisecs \
20 "
21
22 do_install() {
23           install -d ${D}${sysconfdir}/init.d/
24           install -m 0755 ${WORKDIR}/rc.pandora-state ${D}${sysconfdir}/init.d/pandora-state
25           install -d ${D}${sysconfdir}/pandora/conf/
26           install -m 0644 ${WORKDIR}/gamma.state ${D}${sysconfdir}/pandora/conf/gamma.state
27           install -m 0644 ${WORKDIR}/brightness.state ${D}${sysconfdir}/pandora/conf/brightness.state
28           install -m 0644 ${WORKDIR}/nubs.state ${D}${sysconfdir}/pandora/conf/nubs.state
29           install -m 0644 ${WORKDIR}/dirty_expire_centisecs ${D}${sysconfdir}/pandora/conf/dirty_expire_centisecs
30 }
31
32 PACKAGE_ARCH = "${MACHINE_ARCH}"
33
34 FILES_${PN} += "${prefix} ${datadir}"