diff options
author | maximilian attems <maks@debian.org> | 2006-08-25 17:04:33 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2006-08-25 17:04:33 +0200 |
commit | 45989c9f37db0ef23e984ea559f2da784a028366 (patch) | |
tree | 7412695c5971e3bf874ee972e06032edb038de39 /update-initramfs | |
parent | fabe918dee7da26d177d67d4aa8fe3fd6e83e513 (diff) | |
download | initramfs-tools-45989c9f37db0ef23e984ea559f2da784a028366.tar.gz initramfs-tools-45989c9f37db0ef23e984ea559f2da784a028366.zip |
- fix bashism
- rename mdadm.conf in mdrun.conf
- retry nfsmount
- harden init
- fix lvm boot script prereqs
Diffstat (limited to 'update-initramfs')
-rwxr-xr-x | update-initramfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update-initramfs b/update-initramfs index 1ec8c7d..c1e42ab 100755 --- a/update-initramfs +++ b/update-initramfs @@ -95,7 +95,7 @@ run_lilo() # or if "do_bootloader = yes" is set run_bootloader() { - if [ -x /sbin/grub -o -e /boot/grub/menu.lst ]; then + if [ -x /sbin/grub ] || [ -e /boot/grub/menu.lst ]; then if [ -e /etc/lilo.conf ]; then [ -r "${KPKGCONF}" ] && \ do_b=$(awk '/bootloader/{print $3}' "${KPKGCONF}") |