summaryrefslogtreecommitdiff
path: root/usr/local/etc/rc.d/dichroism
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-01-31 14:13:33 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-01-31 14:13:33 -0500
commit923a0c35ff2cc4bef05f9fc7f029932735a3a78c (patch)
treef06ae541835c7cead881c29098e66fd1ef9a3311 /usr/local/etc/rc.d/dichroism
parent508dcff6193ad605e88b828c86d092ec31456311 (diff)
downloadtheglassyladies-923a0c35ff2cc4bef05f9fc7f029932735a3a78c.tar.xz
theglassyladies-923a0c35ff2cc4bef05f9fc7f029932735a3a78c.zip
updated runtime files, added rc.d script for dichroism
Diffstat (limited to 'usr/local/etc/rc.d/dichroism')
-rw-r--r--usr/local/etc/rc.d/dichroism11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/local/etc/rc.d/dichroism b/usr/local/etc/rc.d/dichroism
new file mode 100644
index 0000000..fba6f7c
--- /dev/null
+++ b/usr/local/etc/rc.d/dichroism
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+. /etc/rc.subr
+
+name="dichroism"
+rcvar="${name}_enable"
+command="/usr/local/bin/${name}"
+start_cmd="cd /var/db/theglassyladies; ${command}"
+load_rc_config $name
+run_rc_command "$1"
+