void-packages/srcpkgs/lilo/files/kernel.d/lilo.post-install

14 lines
198 B
Bash

#!/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
[ -f /etc/lilo.conf ] && lilo