projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6f9b5
)
Reading in panic boot parameter when overloading initramfs-tools panic() (Closes...
author
Daniel Baumann
<mail@daniel-baumann.ch>
Fri, 8 Nov 2013 09:16:25 +0000
(10:16 +0100)
committer
Daniel Baumann
<mail@daniel-baumann.ch>
Fri, 8 Nov 2013 09:16:25 +0000
(10:16 +0100)
components/9990-initramfs-tools.sh
patch
|
blob
|
history
diff --git
a/components/9990-initramfs-tools.sh
b/components/9990-initramfs-tools.sh
index
5354134
..
210579d
100755
(executable)
--- a/
components/9990-initramfs-tools.sh
+++ b/
components/9990-initramfs-tools.sh
@@
-25,7
+25,16
@@
maybe_break()
}
# Override panic from scripts/functions
-panic() {
+panic()
+{
+ for _PARAMETER in ${LIVE_BOOT_CMDLINE}
+ do
+ case "${_PARAMETER}" in
+ panic=*)
+ panic="${_PARAMETER#*verify-checksums=}"
+ ;;
+ esac
+ done
DEB_1="\033[1;31m .''\`. \033[0m"
DEB_2="\033[1;31m: :' : \033[0m"