diff options
| author | Harald Hoyer <harald@redhat.com> | 2012-07-13 12:55:49 +0200 |
|---|---|---|
| committer | Harald Hoyer <harald@redhat.com> | 2012-07-13 12:55:49 +0200 |
| commit | 397c4b9888fd888eb46f86f05f56f10c31a35a65 (patch) | |
| tree | 93f2c7ce7b12a8c2e997605a3d1e03ae10a8042e | |
| parent | 33513698019564ecf8d43dae625e65149d327b64 (diff) | |
gummiboot-postinst.sh: s#/etc/kernel-cmdline#/etc/kernel/cmdline#g
| -rwxr-xr-x | gummiboot-postinst.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gummiboot-postinst.sh b/gummiboot-postinst.sh index df7f159..18fe919 100755 --- a/gummiboot-postinst.sh +++ b/gummiboot-postinst.sh @@ -48,14 +48,14 @@ elif [[ -f ${KERNEL_IMAGE/vmlinuz/initramfs}.img ]]; then INITRD_IMAGE=${KERNEL_IMAGE/vmlinuz/initramfs}.img fi -if [[ -f /etc/kernel-cmdline ]]; then +if [[ -f /etc/kernel/cmdline ]]; then while read line; do BOOT_OPTIONS+="$line " - done < /etc/kernel-cmdline + done < /etc/kernel/cmdline fi if ! [[ $BOOT_OPTIONS ]]; then - echo "Can't load default kernel command line parameters from /etc/kernel-cmdline!" >&2 + echo "Can't load default kernel command line parameters from /etc/kernel/cmdline!" >&2 fi [[ -f /etc/os-release ]] && . /etc/os-release |
