X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=hooks%2Finitramfs%2Fpost-update.d%2Frunlilo;h=72b8f3b703626fcb9db2ee57ee65d6b8c134479d;hb=refs%2Ftags%2Fupstream%2F24.1;hp=100cfed43cd6382d91834bf9b654ebadb98b4bcc;hpb=23c77cc092dbbb1e12c47c2b0021d4476b543702;p=rrq%2Fmaintain_lilo.git diff --git a/hooks/initramfs/post-update.d/runlilo b/hooks/initramfs/post-update.d/runlilo index 100cfed..72b8f3b 100644 --- a/hooks/initramfs/post-update.d/runlilo +++ b/hooks/initramfs/post-update.d/runlilo @@ -2,7 +2,7 @@ # # runlilo - postupdate script for modern initrd management # -# Copyright 2010 Joachim Wiedorn +# Copyright 2010-2014 Joachim Wiedorn # All rights reserved. # # Licensed under the terms contained in the file 'COPYING' @@ -26,9 +26,10 @@ case "$PAR" in *) # Run the boot loader installer + # and ignore error on degraded mdadm RAID1 if [ -f /sbin/lilo ];then if [ -f /etc/lilo.conf ];then - lilo &2 + lilo -H &2 else echo "Warning: Not updating LILO; /etc/lilo.conf not found!" >&2 fi