summaryrefslogtreecommitdiff
path: root/print/pips800/files/pips.sh
diff options
context:
space:
mode:
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"