From 87708f56decfb3a4fa3df10f3478c482e1fb19c9 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 11 Jan 2018 09:44:47 -0600 Subject: Update get-eeprom-device-config name --- recipes-core/multitech/config/config.init | 5 ++++- recipes-core/multitech/config_2.0.bb | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes-core/multitech/config/config.init b/recipes-core/multitech/config/config.init index 8b1abe5..0be931f 100644 --- a/recipes-core/multitech/config/config.init +++ b/recipes-core/multitech/config/config.init @@ -32,6 +32,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}" @@ -63,7 +64,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 /sbin/get-eeprom-device-config ]] ; then + /sbin/get-eeprom-device-config -t1 # Radio might not be found yet. + fi fi # mount config if not already mounted if ! grep -q "^${CONFIG_MTDB} " /proc/mounts; then diff --git a/recipes-core/multitech/config_2.0.bb b/recipes-core/multitech/config_2.0.bb index 5137206..c49f06a 100644 --- a/recipes-core/multitech/config_2.0.bb +++ b/recipes-core/multitech/config_2.0.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Provides default system config files and /var/config fs" SECTION = "base" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -PR = "r0" +PR = "r1" inherit update-rc.d -- cgit v1.2.3