diff options
author | John Klug <john.klug@multitech.com> | 2018-01-11 09:44:47 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-01-11 09:44:47 -0600 |
commit | 87708f56decfb3a4fa3df10f3478c482e1fb19c9 (patch) | |
tree | 5b92df9bc28be499cd580dc3fcc8812f8c51cd55 | |
parent | 7735d3dfd1c02fc98c938083f32257942bb04acc (diff) | |
download | meta-mlinux-87708f56decfb3a4fa3df10f3478c482e1fb19c9.tar.gz meta-mlinux-87708f56decfb3a4fa3df10f3478c482e1fb19c9.tar.bz2 meta-mlinux-87708f56decfb3a4fa3df10f3478c482e1fb19c9.zip |
Update get-eeprom-device-config name
-rw-r--r-- | recipes-core/multitech/config/config.init | 5 | ||||
-rw-r--r-- | 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 |