From 83e83675cccb1856e2d90c8829c7a17852f62d46 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Thu, 25 Mar 2010 17:00:26 +0100 Subject: update-initramfs: only run elilo if configured check for /etc/elilo.conf (closes: #534201) Signed-off-by: maximilian attems --- update-initramfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-initramfs b/update-initramfs index 5085b0d..af7a99a 100755 --- a/update-initramfs +++ b/update-initramfs @@ -213,7 +213,7 @@ run_bootloader() run_lilo return 0 fi - if command -v elilo >/dev/null 2>&1; then + if [-r /etc/elilo.conf] && command -v elilo >/dev/null 2>&1; then elilo return 0 fi -- cgit v1.2.3