1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/japanese/vje30/files/vje.sh
Akinori MUSHA 5c19f532f4 Run ldconfig(8) as a pre-command for vjed, to get the compat3x
libraries linked successfully.

Since misc/compat3x is currently forbidden and the startup script is
yet to be converted to use rc.subr, this is mandatory for vjed to be
run properly on startup, because the vje.sh script uses rc.subr and
seems to be invoked before 000.compat3x.sh.

Approved by:	portmgr
2006-03-07 07:22:59 +00:00

23 lines
356 B
Bash

#!/bin/sh
#
# $FreeBSD$
# PROVIDE: vjed
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
. %%RC_SUBR%%
name=vjed
rcvar=`set_rcvar`
required_files=%%PREFIX%%/etc/vje30/vje.cfg
start_precmd='/sbin/ldconfig -m %%PREFIX%%/lib/compat'
command=%%PREFIX%%/vje30/bin/vjed
[ -z "$vjed_enable" ] && vjed_enable=NO
load_rc_config $name
run_rc_command "$1"