summaryrefslogtreecommitdiff
path: root/update-initramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-09-19 23:56:24 +0200
committermaximilian attems <maks@debian.org>2006-09-19 23:56:24 +0200
commit681dc7a7566afa2de5fa7d1edf8aa1c25ec451a6 (patch)
tree2970937bdf17b47fb1696000dfa0877b5c27011b /update-initramfs
parentd4105f86b31e2c0fd35d060982a3f50e9eb9baf1 (diff)
downloadinitramfs-tools-681dc7a7566afa2de5fa7d1edf8aa1c25ec451a6.tar.gz
initramfs-tools-681dc7a7566afa2de5fa7d1edf8aa1c25ec451a6.zip
- more nfs work (timeout, parsing, typo)
- lilo codeflow - add lasi700 scsi module
Diffstat (limited to 'update-initramfs')
-rwxr-xr-xupdate-initramfs3
1 files changed, 2 insertions, 1 deletions
diff --git a/update-initramfs b/update-initramfs
index d1b7026..4a03614 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -113,7 +113,7 @@ run_bootloader()
fi
return 0
fi
- if [ -e /etc/lilo.conf ]; then
+ if [ -e /etc/lilo.conf ] && [ -x /sbin/lilo ]; then
run_lilo
fi
}
@@ -138,6 +138,7 @@ delete_sha1()
# ro /boot is not modified
ro_boot_check()
{
+ [ -d /proc ] || return 0
boot_opts=$(awk '/boot/{if (match($4, /ro/)) print "ro"}' /proc/mounts)
if [ -n "${boot_opts}" ]; then
echo "WARNING: /boot is ro mounted."