diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-03-08 20:58:12 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-03-08 20:58:12 +0000 |
commit | a2d06cfbf0b255f01d7214565e8fad64aa99d811 (patch) | |
tree | 4682891bf223926003acf6ab81c85faeb27b4325 /packages/initrdscripts/files | |
parent | c00dd1a2ce70e2d41b2b4555249b28ad2495e195 (diff) |
initramfs-module-bootldr-buster: initramfs module to fight Compaq bootldr stupidity.
Diffstat (limited to 'packages/initrdscripts/files')
-rw-r--r-- | packages/initrdscripts/files/01-bootldr-buster.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/initrdscripts/files/01-bootldr-buster.sh b/packages/initrdscripts/files/01-bootldr-buster.sh new file mode 100644 index 0000000000..7bf312ad66 --- /dev/null +++ b/packages/initrdscripts/files/01-bootldr-buster.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +cmdl=`cat /proc/cmdline` +if expr "$cmdl" : '.*mtdparts=ipaq' > /dev/null; then + echo "!!!!!!!!" + echo "Detected Compaq bootldr or derivative" + echo "Kernel command line is assumed to be bogus and ignored" + echo "!!!!!!!!" + CMDLINE=" " + sleep 3 +fi |