diff options
Diffstat (limited to 'packages/gpsd/gpsd.inc')
-rw-r--r-- | packages/gpsd/gpsd.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc index dac62ec76c..237971c9c7 100644 --- a/packages/gpsd/gpsd.inc +++ b/packages/gpsd/gpsd.inc @@ -15,6 +15,10 @@ SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \ file://gps-hardware \ file://gpsd" +SRC_URI_append_fic-gta01 = " \ + file://restart_gllin.sh \ + " + inherit autotools update-rc.d INITSCRIPT_NAME = "gpsd" @@ -48,6 +52,11 @@ do_install_append() { install -m 0644 ${WORKDIR}/gpsd-default ${D}/${sysconfdir}/default/gpsd.default } +do_install_append_fic-gta01() { + install -d ${D}/${sysconfdir}/apm/resume.d + install -m 755 ${WORKDIR}/restart_gllin.sh ${D}/${sysconfdir}/apm/resume.d +} + pkg_postinst_${PN}-conf() { update-alternatives --install ${sysconfdir}/default/gpsd gpsd-defaults ${sysconfdir}/default/gpsd.default 10 update-alternatives --install ${sysconfdir}/init.d/gps-hardware gps-hardware ${sysconfdir}/init.d/gps-hardware.default 10 |