summaryrefslogtreecommitdiff
path: root/update-initramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-09-01 16:18:29 +0200
committermaximilian attems <maks@debian.org>2006-09-01 16:18:29 +0200
commit8ae9783215c2845b50dfb70b919df0753c2b0dd9 (patch)
tree78bdbb775a3cc2d3ec8e4f2cc1026ea8aff6dc5f /update-initramfs
parent45989c9f37db0ef23e984ea559f2da784a028366 (diff)
downloadinitramfs-tools-8ae9783215c2845b50dfb70b919df0753c2b0dd9.tar.gz
initramfs-tools-8ae9783215c2845b50dfb70b919df0753c2b0dd9.zip
- fix destination of the mdrun.conf for partial sarge upgrades
- checkout if /sbin/lilo is really there - guard more dirs against creation - add /etc/kernel-img.conf to reportbug output
Diffstat (limited to 'update-initramfs')
-rwxr-xr-xupdate-initramfs3
1 files changed, 3 insertions, 0 deletions
diff --git a/update-initramfs b/update-initramfs
index c1e42ab..5cd1e2e 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -85,6 +85,9 @@ generate_initramfs()
# lilo call
run_lilo()
{
+ if [ ! -x /sbin/lilo ]; then
+ return 1
+ fi
lilo -t > /dev/null
if [ $? -eq 0 ]; then
lilo