blob: 676d01b653bbdafc76f97cfde7eb388475c0db24 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
#
# $FreeBSD: ports/devel/devhelp/files/devhelp.sh,v 1.3 2006/02/20 20:46:54 dougb Exp $
#
# 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"
|