mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
9290192e49
Recently, the souce codes are available. So, we can build FreeBSD native version of PIPS from source instead of just using Linux version. However, some libraries are still shipped as Linux binary. So, we use libmap.conf to solve this problem. Since I have only PM-760C, I cannot test it with other than PM-760C, actually. So, your feedbacks are welcome.
29 lines
465 B
Bash
29 lines
465 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: pips
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: LOGIN
|
|
# KEYWORD: FreeBSD shutdown
|
|
|
|
# Define these pips_* variables in one of these files:
|
|
# /etc/rc.conf
|
|
# /etc/rc.conf.local
|
|
# /etc/rc.conf.d/pips
|
|
#
|
|
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
|
#
|
|
pips_enable=${pips_enable:-"YES"} # Enable pips
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name="pips"
|
|
rcvar=`set_rcvar`
|
|
start_cmd="/sbin/ldconfig -m %%PREFIX%%/lib/pips"
|
|
stop_cmd=":"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|