summaryrefslogtreecommitdiff
path: root/print/pips800/files/pips.sh
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-08-25 20:24:18 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-08-25 20:24:18 +0000
commit9290192e49da38265fc529924edcece9af7ba72b (patch)
treed44b77db8583c8656d1e6cd093f8582f3f524155 /print/pips800/files/pips.sh
parentUpgrade to 3.9. (diff)
Fix long standing fetch problem by using latest distribution.
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.
Notes
Notes: svn path=/head/; revision=117276
Diffstat (limited to 'print/pips800/files/pips.sh')
-rw-r--r--print/pips800/files/pips.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/print/pips800/files/pips.sh b/print/pips800/files/pips.sh
new file mode 100644
index 000000000000..81e79446bf70
--- /dev/null
+++ b/print/pips800/files/pips.sh
@@ -0,0 +1,28 @@
+#!/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"