summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-io.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/multitech/mts-io.inc')
-rw-r--r--recipes-bsp/multitech/mts-io.inc14
1 files changed, 4 insertions, 10 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index e6a6242..5c9d129 100644
--- a/recipes-bsp/multitech/mts-io.inc
+++ b/recipes-bsp/multitech/mts-io.inc
@@ -100,17 +100,11 @@ fakeroot do_install_append_mtcap() {
# install MTCAP mts-io init script
install -m 0755 ${WORKDIR}/mts-io.mtcap.init ${D}${sysconfdir}/init.d/mts-io
install -m 0755 ${WORKDIR}/lora-led-updater ${D}${sbindir}/lora-led-updater
-
- # disable radio-reset for the mtcap hardware
- sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/radio-reset
}
-fakeroot do_install_append_mtr() {
- # disable radio-reset on shutdown for the mtr hardware
- sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/radio-reset
+# Radio-reset is on boot and shutdown for AEP/mlinux
+fakeroot do_install_append_mtcdt() {
+ # install MTCAP mts-io init script
+ sed -i 's/STOP="no"/STOP="yes"/' ${D}${sysconfdir}/default/radio-reset
}
-fakeroot do_install_append_mtrv1() {
- # disable radio-reset on shutdown for the mtrv1 hardware
- sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/radio-reset
-}