3 # zz-runlilo - postinst script for modern kernel management
5 # Copyright 2010-2014 Joachim Wiedorn
8 # Licensed under the terms contained in the file 'COPYING'
9 # in the source directory.
15 # check for maintainer param
16 if [ -n "${DEB_MAINT_PARAMS}" ]; then
18 if [ `echo "${DEB_MAINT_PARAMS}" | grep -v abort | grep -c configure` -eq 1 ]
19 then PAR=configure; fi
22 # check for configure|upgrade|remove|purge
26 # Run the boot loader installer
27 # and ignore error on degraded mdadm RAID1
28 if [ -f /sbin/lilo ]; then
29 if [ -f /etc/lilo.conf ]; then
30 lilo -H </dev/null >&2
32 echo "Warning: Not updating LILO; /etc/lilo.conf not found!" >&2