diff options
-rwxr-xr-x | meta/recipes-core/initrdscripts/initramfs-framework/init | 2 |
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 |
85 | for p in `cat /proc/cmdline`; do | 85 | for 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 |