1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/sysutils/ipmi-kmod/files/pkg-install.in
Sam Lawrance 7b419d28a0 Fix pkg-plist.
Improve install/deinstall scripts and make use of SUB_FILES
to avoid hardcoding paths.
Add support for FreeBSD 5.3 and later.

PR:		ports/97331
Submitted by:	Nick Barkas <snb@threerings.net> (maintainer)
Obtained from:	Dmitry Frolov <frolov@riss-telecom.ru>
2006-05-17 07:15:36 +00:00

13 lines
157 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
KMODDIR="%%KMODDIR%%"
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
type kldxref >/dev/null 2>&1 && kldxref ${KMODDIR} || true