From 0aa1b7a92842ea2767ba520611a4e68df9edc8df Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 23 Jan 2018 10:42:57 -0600 Subject: Change name of get-eeprom-device-info so it does not conflict with AEP. --- recipes-core/multitech/config/config.init | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes-core') 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 -- cgit v1.2.3