diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 5d3a220b..1e557f5a 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -894,7 +894,7 @@ cmdline_hwopts() { MY_HWOPTS="${MY_HWOPTS} $x" elif [ "${y}" = "no${x}" ] then - MY_HWOPTS="`echo ${MY_HWOPTS} | sed -e \"s/${x}//g\" -`" + MY_HWOPTS="$(echo ${MY_HWOPTS} | sed -e "s/${x}//g" -)" fi if [ "$(echo ${y} | cut -b -7)" = "keymap=" ] then