From 658445f6c3ed75db709066da6caba0c72a227e78 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 11 Jan 2018 10:15:03 -0600 Subject: Tidy up get-eeprom-device-config --- recipes-core/multitech/config/config.init | 4 ++-- 1 file 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 -- cgit v1.2.3