1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/devhelp/files/devhelp.sh
Doug Barton c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00

25 lines
349 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: devhelp
# REQUIRE: ldconfig
. /etc/rc.subr
name=devhelp
start_cmd=devhelp_start
stop_cmd=:
[ -z "$devhelp_libdir" ] && devhelp_libdir="%%PREFIX%%/lib/%%MOZILLA%%"
devhelp_start() {
if [ -d "$devhelp_libdir" ]; then
/sbin/ldconfig -m "$devhelp_libdir"
fi
}
load_rc_config $name
run_rc_command "$1"