summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-01-23 10:42:57 -0600
committerJohn Klug <john.klug@multitech.com>2018-01-23 10:42:57 -0600
commit0aa1b7a92842ea2767ba520611a4e68df9edc8df (patch)
treee2af50ee8ba0397577b55a6a17c2d93f763a60ac
parent165c02a4730e63dda07a4e77cb4ddd4eeba43979 (diff)
downloadmeta-mlinux-0aa1b7a92842ea2767ba520611a4e68df9edc8df.tar.gz
meta-mlinux-0aa1b7a92842ea2767ba520611a4e68df9edc8df.tar.bz2
meta-mlinux-0aa1b7a92842ea2767ba520611a4e68df9edc8df.zip
Change name of get-eeprom-device-info so it does not conflict with AEP.
-rw-r--r--recipes-core/multitech/config/config.init5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-core/multitech/config/config.init b/recipes-core/multitech/config/config.init
index 6e642ae..ada4a75 100644
--- a/recipes-core/multitech/config/config.init
+++ b/recipes-core/multitech/config/config.init
@@ -34,6 +34,7 @@ wpa_supplicant.conf \
# File hidden so it is not removed on hardware reset
WIFITAR=".defaults2.tar.gz"
+GETCONFIG=/sbin/get-eeprom-device-config
mount_config() {
echo "Mounting ${CONFIG_DIR}"
@@ -65,7 +66,9 @@ case $1 in
start)
if ! [[ -f /run/config/device_info.json ]] ; then
[[ -d /run/config ]] || mkdir -m 755 -p /run/config
- /sbin/get-eeprom-device-info -t1 # Radio might not be found yet.
+ if [[ -x ${GETCONFIG} ]] ; then
+ ${GETCONFIG} -t1 # Radio might not be found yet.
+ fi
fi
# mount config if not already mounted
if ! grep -q "^${CONFIG_MTDB} " /proc/mounts; then