summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/multitech/mts-io/mts-io.mtp.init6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.mtp.init b/recipes-bsp/multitech/mts-io/mts-io.mtp.init
index d8f8564..f247a9b 100644
--- a/recipes-bsp/multitech/mts-io/mts-io.mtp.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.mtp.init
@@ -16,10 +16,16 @@ cell_init() {
mts-io-sysfs store radio-power 1
}
+eth_init() {
+ mts-io-sysfs store eth-enabled 0
+ mts-io-sysfs store eth-enabled 1
+}
+
case $1 in
start)
echo "Loading mts-io module"
modprobe mts_io
+ eth_init
lora_init
cell_init &
;;