diff --git a/buildroot-external/overlay/base/etc/init.d/S01InitHost b/buildroot-external/overlay/base/etc/init.d/S01InitHost index 6200ececbb..800cd7a7c2 100755 --- a/buildroot-external/overlay/base/etc/init.d/S01InitHost +++ b/buildroot-external/overlay/base/etc/init.d/S01InitHost @@ -39,7 +39,7 @@ identify_host() { fi HWMODEL="${VENDOR} ${PNAME}" else - MODEL=$(cat /proc/cpuinfo | grep ^Model | cut -d" " -f2-) + MODEL=$(grep ^Model /proc/cpuinfo | cut -d" " -f2-) if [[ "${MODEL}" != "" ]]; then HWMODEL=${MODEL} fi diff --git a/buildroot-external/package/recovery-system/external/overlay/base/etc/init.d/S01InitHost b/buildroot-external/package/recovery-system/external/overlay/base/etc/init.d/S01InitHost index d690e5b40d..0f961ccefa 100755 --- a/buildroot-external/package/recovery-system/external/overlay/base/etc/init.d/S01InitHost +++ b/buildroot-external/package/recovery-system/external/overlay/base/etc/init.d/S01InitHost @@ -40,7 +40,7 @@ identify_host() { fi HWMODEL="${VENDOR} ${PNAME}" else - MODEL=$(cat /proc/cpuinfo | grep ^Model | cut -d" " -f2-) + MODEL=$(grep ^Model /proc/cpuinfo | cut -d" " -f2-) if [[ "${MODEL}" != "" ]]; then HWMODEL=${MODEL} fi