chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
everywhere: remove configurability of sysv runlevel to target mapping
[elogind.git]
/
src
/
kernel-install
/
90-loaderentry.install
diff --git
a/src/kernel-install/90-loaderentry.install
b/src/kernel-install/90-loaderentry.install
index 6f032b5a4b7b47e26c5537755472a730210ec8c6..d433e00a5c3fc1508024431558d8c614d9c6c4d2 100644
(file)
--- a/
src/kernel-install/90-loaderentry.install
+++ b/
src/kernel-install/90-loaderentry.install
@@
-47,7
+47,7
@@
if [[ -f /etc/kernel/cmdline ]]; then
fi
if ! [[ ${BOOT_OPTIONS[*]} ]]; then
fi
if ! [[ ${BOOT_OPTIONS[*]} ]]; then
- read -a
r line
< /proc/cmdline
+ read -a
line -r
< /proc/cmdline
for i in "${line[@]}"; do
[[ "${i#initrd=*}" != "$i" ]] && continue
BOOT_OPTIONS[${#BOOT_OPTIONS[@]}]="$i"
for i in "${line[@]}"; do
[[ "${i#initrd=*}" != "$i" ]] && continue
BOOT_OPTIONS[${#BOOT_OPTIONS[@]}]="$i"