Introduction
Introduction Statistics Contact Development Disclaimer Help
Move all geomyidae installation scripts to bin instead of sbin. - geomyidae - A…
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit e3759e8a47e6b7e0483e8978d5e40c370f8cf6fe
parent 694f5b6233e0fe66afa930d566842f17ba67de34
Author: Christoph Lohmann <[email protected]>
Date: Sat, 2 Apr 2022 22:58:29 +0200
Move all geomyidae installation scripts to bin instead of sbin.
Diffstat:
M rc.d/Archlinux.rc.d | 4 ++--
M rc.d/NetBSD.rc.d | 2 +-
M rc.d/rc.geomyidae | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/rc.d/Archlinux.rc.d b/rc.d/Archlinux.rc.d
@@ -4,11 +4,11 @@
. /etc/rc.d/functions
. /etc/conf.d/geomyidae
-PID=$(pidof -o %PPID /usr/sbin/geomyidae)
+PID=$(pidof -o %PPID /usr/bin/geomyidae)
case "$1" in
start)
stat_busy "Starting geomyidae"
- [ -z "$PID" ] && /usr/sbin/geomyidae $GEOMYIDAE_ARGS 2>&1
+ [ -z "$PID" ] && /usr/bin/geomyidae $GEOMYIDAE_ARGS 2>&1
if [ $? -gt 0 ]; then
stat_fail
else
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/sbin/${name}"
+command="/usr/local/bin/${name}"
#####################################################
# Geomyidae Options Section - "?" => geomyidae(8) #
diff --git a/rc.d/rc.geomyidae b/rc.d/rc.geomyidae
@@ -1,12 +1,12 @@
#!/bin/sh
# Array of all PIDS
-PID=$(pidof -o %PPID /usr/sbin/geomyidae)
+PID=$(pidof -o %PPID /usr/bin/geomyidae)
case "$1" in
start)
echo "Starting geomyidae"
- /usr/sbin/geomyidae $GEOMYIDAE_ARGS 2>&1
+ /usr/bin/geomyidae $GEOMYIDAE_ARGS 2>&1
if [ $? -gt 0 ]; then
echo "Startup failed"
fi
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.