summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-08-18 15:59:40 +0200
committermaximilian attems <maks@debian.org>2006-08-18 15:59:40 +0200
commitd1d6763409a1260708423e0092d7bc4182275773 (patch)
treec88fcae96605cda38b5794ef883d851791876001 /init
parent839572386f35bf4b4404dac5f976566bc155de94 (diff)
downloadinitramfs-tools-d1d6763409a1260708423e0092d7bc4182275773.tar.gz
initramfs-tools-d1d6763409a1260708423e0092d7bc4182275773.zip
- really add DAC960 + add megaraid_sas
- update TODO - first take at the panic parsing - do_bootloader variable is not case sensitive, catch more cases - if panic is set to 0 reboot and don't open console, needs still work for all other values.
Diffstat (limited to 'init')
-rwxr-xr-xinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/init b/init
index 69d9542..ab679b5 100755
--- a/init
+++ b/init
@@ -43,6 +43,7 @@ export readonly=y
export rootmnt=/root
export debug=
export cryptopts=${CRYPTOPTS}
+export panic
for x in $(cat /proc/cmdline); do
case $x in
@@ -81,6 +82,9 @@ for x in $(cat /proc/cmdline); do
noresume)
NORESUME=y
;;
+ panic=*)
+ panic="${x#panic=}"
+ ;;
quiet)
quiet=y
;;