From cdf13c967f6d86325ca577c0faa44dd593d7463e Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Tue, 10 Aug 2010 18:34:52 +0000 Subject: initscripts: Fixed empty machine_id returned on some devices. Signed-off-by: Stanislav Brabec --- recipes/initscripts/files/functions | 2 +- recipes/initscripts/initscripts_1.0.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes') diff --git a/recipes/initscripts/files/functions b/recipes/initscripts/files/functions index 51c1f13261..b9dca1f96b 100644 --- a/recipes/initscripts/files/functions +++ b/recipes/initscripts/files/functions @@ -6,7 +6,7 @@ machine_id() { # return the machine ID id=`awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } '