1 DESCRIPTION = "Save and restore some specific Pandora settings on shutdown / startup"
4 COMPATIBLE_MACHINE = "omap3-pandora"
6 RDEPENDS = "pandora-scripts"
11 INITSCRIPT_NAME = "pandora-state"
12 INITSCRIPT_PARAMS = "start 39 S . stop 31 0 1 6 ."
15 file://rc.pandora-state \
17 file://brightness.state \
19 file://dirty_expire_centisecs \
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
32 PACKAGE_ARCH = "${MACHINE_ARCH}"
34 FILES_${PN} += "${prefix} ${datadir}"