mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 18:57:04 +00:00
Merge pull request #1033 from chri2/master
fix bug with e.g. nosplash parameter in kernel command line
This commit is contained in:
commit
7519f34d90
@ -49,7 +49,9 @@ adjusted_cmd_line="n"
|
||||
adjust_cmd_line() {
|
||||
if [ -n "$cmdremove" ]; then
|
||||
for i in $cmdremove; do
|
||||
cmdline="${cmdline//$i/}"
|
||||
cmdline="${cmdline#$i }"
|
||||
cmdline="${cmdline/ $i / }"
|
||||
cmdline="${cmdline% $i}"
|
||||
done
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user