2015-02-14 16:57:45 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Kernel hook for LILO.
|
|
|
|
#
|
|
|
|
# Arguments passed to this script: $1 pkgname, $2 version.
|
|
|
|
#
|
2015-03-18 12:59:39 +01:00
|
|
|
PKGNAME="$1"
|
|
|
|
VERSION="$2"
|
2015-02-14 16:57:45 +01:00
|
|
|
|
2015-03-18 11:50:08 +01:00
|
|
|
[ -x "$(command -v lilo)" ] || \
|
2015-03-18 12:59:39 +01:00
|
|
|
exit 0
|
2015-02-14 16:57:45 +01:00
|
|
|
|
2015-03-18 12:59:39 +01:00
|
|
|
# Do not abort kernel removal on error.
|
|
|
|
[ -f /etc/lilo.conf ] && lilo || true
|