summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-07-13 12:55:49 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-13 12:55:49 +0200
commit397c4b9888fd888eb46f86f05f56f10c31a35a65 (patch)
tree93f2c7ce7b12a8c2e997605a3d1e03ae10a8042e
parent33513698019564ecf8d43dae625e65149d327b64 (diff)
gummiboot-postinst.sh: s#/etc/kernel-cmdline#/etc/kernel/cmdline#g
-rwxr-xr-xgummiboot-postinst.sh6
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
chrome/drm-openchrome/commit/Documentation/sysrq.txt?id=4092762aebfe55c1f8e31440b80a053c2dbe519b'>Merge branch 'tracing/ftrace'; commit 'v2.6.29-rc2' into tracing/coreIngo Molnar1-1/+18 2009-01-15sysrq documentation: document why the command header only is shownAndy Whitcroft1-0/+18 2009-01-15sysrq documentation: remove the redundant updated dateAndy Whitcroft1-1/+0 2008-12-26sysrq: fix ftrace help msg & doc.Randy Dunlap1-0/+2 2008-10-20Merge branch 'v28-timers-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+3 2008-10-20Fix documentation of sysrq-qAndi Kleen1-1/+2 2008-10-20fix documentation of sysrq-q reallyThomas Gleixner1-2/+2 2008-10-20Fix documentation of sysrq-qAndi Kleen1-1/+2 2008-04-29sysrq: add show-backtrace-on-all-cpus functionRik van Riel1-0/+2 2007-10-07sysrq docs: document sequence that actually worksPavel Machek1-1/+1 2007-08-11Documentation: sysrq, description of 'h' slightly inaccurateJesper Juhl1-2/+2 2007-05-07doc: Update sysrq doc for sh kgdb trigger.Paul Mundt1-2/+2 2007-03-22[PATCH] Documentation/sysrq.txt: added short description for 'Q' (timerlist)Johannes Weiner1-0/+2 2007-02-11[PATCH] sysrq: alphabetize command keys docRandy Dunlap1-22/+22 2007-02-01[PATCH] sysrq: showBlockedTasks is sysrq-WRandy Dunlap1-31/+35 2006-06-25[PATCH] Correct sa'K' description in sysrq.txtJesper Juhl1-2/+3