diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-10-18 11:45:00 -0500 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-10-18 11:45:00 -0500 |
commit | 47ae54aa38a710ae6c20985cf0f9814c0c76b00b (patch) | |
tree | 8e72b1256c83a3381ae061bcc060bb2088c007cb /recipes-bsp/multitech/mts-io/mts-io.mtp.init | |
parent | 541d5ad7b06d21778fea2b7728a81c58793b93fb (diff) | |
download | meta-multitech-47ae54aa38a710ae6c20985cf0f9814c0c76b00b.tar.gz meta-multitech-47ae54aa38a710ae6c20985cf0f9814c0c76b00b.tar.bz2 meta-multitech-47ae54aa38a710ae6c20985cf0f9814c0c76b00b.zip |
mtp:fix: reset ethernet on boot
Diffstat (limited to 'recipes-bsp/multitech/mts-io/mts-io.mtp.init')
-rw-r--r-- | recipes-bsp/multitech/mts-io/mts-io.mtp.init | 6 |
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 & ;; |