diff options
author | Mykyta Dorokhin <mykyta.dorokhin@globallogic.com> | 2016-09-20 01:33:48 +0300 |
---|---|---|
committer | Mykyta Dorokhin <mykyta.dorokhin@globallogic.com> | 2016-09-20 01:41:45 +0300 |
commit | b5814feebe6315286cecbe23eea27f12e7dd0528 (patch) | |
tree | 859856f2423d5a80283d76762fb7940fea64580e /recipes-bsp/multitech/mts-io.inc | |
parent | a82c71e9cef58863a6dbe0b38a30529f8389668e (diff) | |
download | meta-multitech-b5814feebe6315286cecbe23eea27f12e7dd0528.tar.gz meta-multitech-b5814feebe6315286cecbe23eea27f12e7dd0528.tar.bz2 meta-multitech-b5814feebe6315286cecbe23eea27f12e7dd0528.zip |
mtp: graceful restart of the cellular radio and lora chip reset.
Diffstat (limited to 'recipes-bsp/multitech/mts-io.inc')
-rw-r--r-- | recipes-bsp/multitech/mts-io.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index 5f17458..6d77e34 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -15,6 +15,7 @@ SRC_URI = " \ git://git.multitech.net/mts-io.git;protocol=git \ file://led-status_heartbeat_trigger \ file://mts-io.init \ + file://mts-io.mtp.init \ file://radio-reset.init \ file://radio-reset.default \ " @@ -84,7 +85,10 @@ fakeroot do_install () { install -m 0644 ${WORKDIR}/radio-reset.default ${D}${sysconfdir}/default/radio-reset } -# disable radio-reset for the mtp hardware -do_install_append_mtp() { +fakeroot do_install_append_mtp() { + # install MTP mts-io init script + install -m 0755 ${WORKDIR}/mts-io.mtp.init ${D}${sysconfdir}/init.d/mts-io + + # disable radio-reset for the mtp hardware sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/radio-reset } |