config is in lilo 1:24.2-3.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
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 42 43 44 45 46 47 48 49 50 51 | #!/bin/sh
# debian/lilo.config for debconf to be executed before unpacking
set -e
action=$1
version=$2
# debconf
. /usr/share/debconf/confmodule
db_version 2.0
isfresh=0
have_to_run=0
if [ ! -f /etc/lilo.conf ]; then
isfresh=1
db_text high lilo/new-config || true
db_go
else
if grep -q "^[[:space:]]*large-memory" /etc/lilo.conf; then
db_set lilo/add_large_memory false
else
db_beginblock
db_text high lilo/add_large_memory || true
db_endblock
db_go
db_get lilo/add_large_memory || true;
if [ x"$RET" = x"true" ]; then
have_to_run=1
fi
fi
# Convert old options 'boot' and 'root' to newer diskid or uuid
if grep -q -E "^boot|^root|^\troot" /etc/lilo.conf; then
db_beginblock
db_text high lilo/diskid_uuid || true
db_endblock
db_go
fi
fi
if [ x"$have_to_run" != x"0" ]; then
db_beginblock
db_input high lilo/runme || true
db_endblock
db_go
fi
exit 0
|