diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index c57f016f..8c2019ee 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