diff options
author | maximilian attems <maks@debian.org> | 2006-09-19 23:56:24 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2006-09-19 23:56:24 +0200 |
commit | 681dc7a7566afa2de5fa7d1edf8aa1c25ec451a6 (patch) | |
tree | 2970937bdf17b47fb1696000dfa0877b5c27011b /update-initramfs | |
parent | d4105f86b31e2c0fd35d060982a3f50e9eb9baf1 (diff) | |
download | initramfs-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-x | update-initramfs | 3 |
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." |