diff options
author | maximilian attems <maks@debian.org> | 2010-03-25 17:00:26 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-03-25 17:00:44 +0100 |
commit | 83e83675cccb1856e2d90c8829c7a17852f62d46 (patch) | |
tree | b783ed291da0a605f8e4359adddb4ea56e4bc42b /update-initramfs | |
parent | 09fbb6c5727d3700cc672240fc69b026ef7a6e68 (diff) | |
download | initramfs-tools-83e83675cccb1856e2d90c8829c7a17852f62d46.tar.gz initramfs-tools-83e83675cccb1856e2d90c8829c7a17852f62d46.zip |
update-initramfs: only run elilo if configured
check for /etc/elilo.conf
(closes: #534201)
Signed-off-by: maximilian attems <maks@debian.org>
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 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 |