Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile: install to $PREFIX/sbin - geomyidae - A small C-based gopherd.
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit 5c0b78719d97fb96b62ff4f13b435a07f896a1e8
parent 933a46862bbf145fe708bdb09107bf20ceeeaf82
Author: Quentin Rameau <[email protected]>
Date: Wed, 1 Apr 2020 20:51:17 +0200
Makefile: install to $PREFIX/sbin
This is a daemon which requires privileges to run by default.
Signed-off-by: Christoph Lohmann <[email protected]>
Diffstat:
M Makefile | 2 +-
M rc.d/NetBSD.rc.d | 2 +-
M rc.d/rc.geomyidae | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -6,7 +6,7 @@ NAME = geomyidae
VERSION = 0.34
PREFIX = /usr/local
-BINDIR = ${PREFIX}/bin
+BINDIR = ${PREFIX}/sbin
MANDIR = ${PREFIX}/share/man/man8
CFLAGS = -O2 -Wall
diff --git a/rc.d/NetBSD.rc.d b/rc.d/NetBSD.rc.d
@@ -9,7 +9,7 @@ $_rc_subr_loaded . /etc/rc.subr
name="geomyidae"
rcvar=$name
-command="/usr/local/bin/${name}"
+command="/usr/local/sbin/${name}"
#####################################################
# Geomyidae Options Section - "?" => geomyidae(8) #
diff --git a/rc.d/rc.geomyidae b/rc.d/rc.geomyidae
@@ -1,7 +1,7 @@
#!/bin/sh
# Array of all PIDS
-PID=($(pidof -o %PPID /usr/bin/geomyidae))
+PID=($(pidof -o %PPID /usr/sbin/geomyidae))
case "$1" in
start)
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.