void-packages/srcpkgs/lilo/files/kernel.d/lilo.post-install
2015-03-18 12:59:39 +01:00

13 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