summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-01-11 10:15:03 -0600
committerJohn Klug <john.klug@multitech.com>2018-01-11 10:15:03 -0600
commit658445f6c3ed75db709066da6caba0c72a227e78 (patch)
treea5c88d69802ef70b8a907ee48bcdeba791d11eb6
parent87708f56decfb3a4fa3df10f3478c482e1fb19c9 (diff)
downloadmeta-mlinux-658445f6c3ed75db709066da6caba0c72a227e78.tar.gz
meta-mlinux-658445f6c3ed75db709066da6caba0c72a227e78.tar.bz2
meta-mlinux-658445f6c3ed75db709066da6caba0c72a227e78.zip
Tidy up get-eeprom-device-config
-rw-r--r--recipes-core/multitech/config/config.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-core/multitech/config/config.init b/recipes-core/multitech/config/config.init
index 0be931f..2016dcb 100644
--- a/recipes-core/multitech/config/config.init
+++ b/recipes-core/multitech/config/config.init
@@ -64,8 +64,8 @@ case $1 in
start)
if ! [[ -f /run/config/device_info.json ]] ; then
[[ -d /run/config ]] || mkdir -m 755 -p /run/config
- if [[ -x /sbin/get-eeprom-device-config ]] ; then
- /sbin/get-eeprom-device-config -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