projects
/
rrq
/
maintain_lilo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 24.1
[rrq/maintain_lilo.git]
/
hooks
/
initramfs
/
post-update.d
/
runlilo
diff --git
a/hooks/initramfs/post-update.d/runlilo
b/hooks/initramfs/post-update.d/runlilo
index 100cfed43cd6382d91834bf9b654ebadb98b4bcc..72b8f3b703626fcb9db2ee57ee65d6b8c134479d 100644
(file)
--- 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
#
#
# 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'
# All rights reserved.
#
# Licensed under the terms contained in the file 'COPYING'
@@
-26,9
+26,10
@@
case "$PAR" in
*)
# Run the boot loader installer
*)
# Run the boot loader installer
+ # and ignore error on degraded mdadm RAID1
if [ -f /sbin/lilo ];then
if [ -f /etc/lilo.conf ];then
if [ -f /sbin/lilo ];then
if [ -f /etc/lilo.conf ];then
- lilo </dev/null >&2
+ lilo
-H
</dev/null >&2
else
echo "Warning: Not updating LILO; /etc/lilo.conf not found!" >&2
fi
else
echo "Warning: Not updating LILO; /etc/lilo.conf not found!" >&2
fi