tMove all geomyidae installation scripts to bin instead of sbin. - geomyidae - A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae) (HTM) git clone git://r-36.net/geomyidae (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit e3759e8a47e6b7e0483e8978d5e40c370f8cf6fe (DIR) parent 694f5b6233e0fe66afa930d566842f17ba67de34 (HTM) Author: Christoph Lohmann <20h@r-36.net> Date: Sat, 2 Apr 2022 22:58:29 +0200 Move all geomyidae installation scripts to bin instead of sbin. Diffstat: rc.d/Archlinux.rc.d | 4 ++-- rc.d/NetBSD.rc.d | 2 +- rc.d/rc.geomyidae | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) --- (DIR) diff --git a/rc.d/Archlinux.rc.d b/rc.d/Archlinux.rc.d t@@ -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 (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/sbin/${name}" +command="/usr/local/bin/${name}" ##################################################### # Geomyidae Options Section - "?" => geomyidae(8) # (DIR) diff --git a/rc.d/rc.geomyidae b/rc.d/rc.geomyidae t@@ -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