aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-07-04 19:22:08 +0000
committerOmar Polo <op@omarpolo.com>2022-07-04 19:22:08 +0000
commit3bba4fc55f835986c9ff468f383ef51d1aaac855 (patch)
tree46c29772a15bb8d471ae1c634be16e9c305841d1 /contrib
parentf759119d2f5707baac35b4960a6ddca5bd205647 (diff)
remove the OpenBSD' rc file
now that gmid is packaged on OpenBSD the rc file is maintained in the ports tree.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/README4
-rwxr-xr-xcontrib/gmid14
2 files changed, 0 insertions, 18 deletions
diff --git a/contrib/README b/contrib/README
index 97fc1cd..13bc71a 100644
--- a/contrib/README
+++ b/contrib/README
@@ -9,10 +9,6 @@ gencert
Simple shell script to generate self-signed certificates.
-gmid
-
- Sample rc(8) script for OpenBSD, to be placed in /etc/rc.d.
-
gmid.service
Simple systemd service file.
diff --git a/contrib/gmid b/contrib/gmid
deleted file mode 100755
index 67e5bc4..0000000
--- a/contrib/gmid
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/ksh
-#
-
-daemon="/usr/local/bin/gmid"
-daemon_flags="-c /etc/gmid.conf"
-
-. /etc/rc.d/rc.subr
-
-rc_pre() {
- # use rcexec here since daemon_flags may contain arguments with spaces
- ${rcexec} "${daemon} -n ${daemon_flags}"
-}
-
-rc_cmd $1