3 # zz-runlilo - postinst script for modern kernel management
5 # Copyright 2010 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 if [ -f /sbin/lilo ]; then
28 if [ -f /etc/lilo.conf ]; then
31 echo "Warning: Not updating LILO; /etc/lilo.conf not found!" >&2