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
/
kernel
/
postrm.d
/
zz-runlilo
diff --git
a/hooks/kernel/postrm.d/zz-runlilo
b/hooks/kernel/postrm.d/zz-runlilo
index 671c16463110ab135a794118b97d85d6248def0c..c85bc4ab407aa1d277f85b63978a42dca4c37656 100644
(file)
--- a/
hooks/kernel/postrm.d/zz-runlilo
+++ b/
hooks/kernel/postrm.d/zz-runlilo
@@
-2,7
+2,7
@@
#
# zz-runlilo - postrm script for modern kernel management
#
#
# zz-runlilo - postrm script for modern kernel 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'
@@
-24,10
+24,11
@@
case "$PAR" in
ever|remove)
# Run the boot loader installer
ever|remove)
# Run the boot loader installer
+ # and ignore error on degraded mdadm RAID1
if [ -f /sbin/lilo ]; then
if [ -f /etc/lilo.conf ]; then
# Do not abort kernel removal in case of error
if [ -f /sbin/lilo ]; then
if [ -f /etc/lilo.conf ]; then
# Do not abort kernel removal in case of error
- lilo </dev/null >&2 || true
+ lilo
-H
</dev/null >&2 || true
fi
fi
;;
fi
fi
;;