Move all geomyidae installation scripts to bin instead of sbin. - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit e3759e8a47e6b7e0483e8978d5e40c370f8cf6fe DIR parent 694f5b6233e0fe66afa930d566842f17ba67de34 HTML 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: 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(-) --- DIR 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 DIR 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) # DIR 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