#!/bin/sh # # Kernel hook for LILO. # # Arguments passed to this script: $1 pkgname, $2 version. # PKGNAME="$1" VERSION="$2" [ -x "$(command -v lilo)" ] || \ exit 0 # Do not abort kernel removal on error. [ -f /etc/lilo.conf ] && lilo || true