diff options
author | maximilian attems <maks@debian.org> | 2006-08-18 15:59:40 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2006-08-18 15:59:40 +0200 |
commit | d1d6763409a1260708423e0092d7bc4182275773 (patch) | |
tree | c88fcae96605cda38b5794ef883d851791876001 /update-initramfs | |
parent | 839572386f35bf4b4404dac5f976566bc155de94 (diff) | |
download | initramfs-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 'update-initramfs')
-rwxr-xr-x | update-initramfs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/update-initramfs b/update-initramfs index e7dc586..3ce8f1f 100755 --- a/update-initramfs +++ b/update-initramfs @@ -96,9 +96,10 @@ run_bootloader() { if [ -x /sbin/grub -o -e /boot/grub/menu.lst ]; then if [ -e /etc/lilo.conf ]; then - do_bootloader=$(awk '/bootloader/{print $2}' \ + do_b=$(awk '/bootloader/{print $2}' \ /etc/kernel-img.conf) - if [ "${do_bootloader}" = "yes" ]; then + if [ "${do_b}" = "yes" ] || [ "${do_b}" = "Yes" ] \ + || [ "${do_b}" = "YES" ]; then run_lilo return 0 fi |