tMakefile: install to $PREFIX/sbin - geomyidae - A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
HTML git clone git://r-36.net/geomyidae
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 5c0b78719d97fb96b62ff4f13b435a07f896a1e8
DIR parent 933a46862bbf145fe708bdb09107bf20ceeeaf82
HTML Author: Quentin Rameau <quinq@fifth.space>
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 <20h@r-36.net>
Diffstat:
Makefile | 2 +-
rc.d/NetBSD.rc.d | 2 +-
rc.d/rc.geomyidae | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
t@@ -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
DIR diff --git a/rc.d/NetBSD.rc.d b/rc.d/NetBSD.rc.d
t@@ -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) #
DIR diff --git a/rc.d/rc.geomyidae b/rc.d/rc.geomyidae
t@@ -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)