summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-rwxr-xr-xmeta/recipes-core/initrdscripts/initramfs-framework/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/init b/meta/recipes-core/initrdscripts/initramfs-framework/init
index 37527a840a..3c7e09422d 100755
--- a/meta/recipes-core/initrdscripts/initramfs-framework/init
+++ b/meta/recipes-core/initrdscripts/initramfs-framework/init
@@ -84,7 +84,7 @@ mount -t sysfs sysfs /sys
84# populate bootparam environment 84# populate bootparam environment
85for p in `cat /proc/cmdline`; do 85for p in `cat /proc/cmdline`; do
86 opt=`echo $p | cut -d'=' -f1` 86 opt=`echo $p | cut -d'=' -f1`
87 opt=`echo $opt | tr '.-' '__'` 87 opt=`echo $opt | sed -e 'y/.-/__/'`
88 if [ "`echo $p | cut -d'=' -f1`" = "$p" ]; then 88 if [ "`echo $p | cut -d'=' -f1`" = "$p" ]; then
89 eval "bootparam_${opt}=true" 89 eval "bootparam_${opt}=true"
90 else 90 else