/etc/initramfs/post-update.d/runlilo is in lilo 1:24.2-2+b1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #!/bin/sh
#
# runlilo - postupdate script for modern initrd management
#
# Copyright 2010-2014 Joachim Wiedorn
# All rights reserved.
#
# Licensed under the terms contained in the file 'COPYING'
# in the source directory.
#
set -e
PAR=ever
# check for maintainer param
if [ ! -z "${DPKG_MAINTSCRIPT_PACKAGE}" ]
then PAR="${DPKG_MAINTSCRIPT_PACKAGE}"; fi
case "$PAR" in
linux-image-*)
# lilo will be updated later by the kernel postinst hook.
# no need to update it now.
true
;;
*)
# Run the boot loader installer
# and ignore error on degraded mdadm RAID1
if [ -f /sbin/lilo ];then
if [ -f /etc/lilo.conf ];then
lilo -H </dev/null >&2
else
echo "Warning: Not updating LILO; /etc/lilo.conf not found!" >&2
fi
fi
;;
esac
# end of file
|