summarylogtreecommitdiffstats
path: root/plptools.rcd
diff options
context:
space:
mode:
authorMarkus Heidelberg2013-08-16 01:07:00 +0200
committerMarkus Heidelberg2015-06-27 01:41:26 +0200
commit6f42f68d483051855259abefcbc03c7db26c00a8 (patch)
tree6a0a0cc5f41d2da25e71811463485a7c32688942 /plptools.rcd
parent5f5f45251ae9f1832eaae35e85c4a668ce791384 (diff)
downloadaur-6f42f68d483051855259abefcbc03c7db26c00a8.tar.gz
plptools 1.0.11-3: adapt to Arch Linux unified bin directory
Binaries moved from /usr/sbin to /usr/bin. ** Manually imported from AUR 3 **
Diffstat (limited to 'plptools.rcd')
-rwxr-xr-xplptools.rcd18
1 files changed, 9 insertions, 9 deletions
diff --git a/plptools.rcd b/plptools.rcd
index 1f9be6cc1557..380b49b79192 100755
--- a/plptools.rcd
+++ b/plptools.rcd
@@ -11,21 +11,21 @@
NCPD_PIDFILE=/var/run/plptools/ncpd.pid
NCPD_PID=$(cat $NCPD_PIDFILE 2>/dev/null)
-if ! readlink -q /proc/$NCPD_PID/exe | grep -q '^/usr/sbin/ncpd'; then
+if ! readlink -q /proc/$NCPD_PID/exe | grep -q '^/usr/bin/ncpd'; then
NCPD_PID=
rm $NCPD_PIDFILE 2>/dev/null
fi
PLPFUSE_PIDFILE=/var/run/plptools/plpfuse.pid
PLPFUSE_PID=$(cat $PLPFUSE_PIDFILE 2>/dev/null)
-if ! readlink -q /proc/$PLPFUSE_PID/exe | grep -q '^/usr/sbin/plpfuse'; then
+if ! readlink -q /proc/$PLPFUSE_PID/exe | grep -q '^/usr/bin/plpfuse'; then
PLPFUSE_PID=
rm $PLPFUSE_PIDFILE 2>/dev/null
fi
PLPPRINTD_PIDFILE=/var/run/plptools/plpprintd.pid
PLPPRINTD_PID=$(cat $PLPPRINTD_PIDFILE 2>/dev/null)
-if ! readlink -q /proc/$PLPPRINTD_PID/exe | grep -q '^/usr/sbin/plpprintd'; then
+if ! readlink -q /proc/$PLPPRINTD_PID/exe | grep -q '^/usr/bin/plpprintd'; then
PLPPRINTD_PID=
rm $PLPPRINTD_PIDFILE 2>/dev/null
fi
@@ -38,12 +38,12 @@ start() {
fi
if test "$START_NCPD" = "yes" ; then
stat_busy " ncpd: "
- [[ -z $NCPD_PID ]] && /usr/sbin/ncpd $NCPD_ARGS
+ [[ -z $NCPD_PID ]] && /usr/bin/ncpd $NCPD_ARGS
if [[ $? -gt 0 ]]; then
RETVAL=1
stat_fail
else
- PID=`pidof -o %PPID /usr/sbin/ncpd`
+ PID=`pidof -o %PPID /usr/bin/ncpd`
echo $PID > $NCPD_PIDFILE 2>/dev/null
add_daemon ncpd
stat_done
@@ -52,12 +52,12 @@ start() {
if [ $RETVAL -eq 0 ] ; then
if test "$START_PLPFUSE" = "yes" ; then
stat_busy " plpfuse: "
- [[ -z $PLPFUSE_PID ]] && /usr/sbin/plpfuse $PLPFUSE_ARGS $PLPFUSE_MOUNTPOINT
+ [[ -z $PLPFUSE_PID ]] && /usr/bin/plpfuse $PLPFUSE_ARGS $PLPFUSE_MOUNTPOINT
if [[ $? -gt 0 ]]; then
RETVAL=1
stat_fail
else
- PID=`pidof -o %PPID /usr/sbin/plpfuse`
+ PID=`pidof -o %PPID /usr/bin/plpfuse`
echo $PID > $PLPFUSE_PIDFILE 2>/dev/null
add_daemon plpfuse
stat_done
@@ -67,12 +67,12 @@ start() {
if [ $RETVAL -eq 0 ] ; then
if test "$START_PLPPRINTD" = "yes" ; then
stat_busy " plpprintd: "
- [[ -z $PLPPRINTD_PID ]] && /usr/sbin/plpprintd $PLPPRINTD_ARGS
+ [[ -z $PLPPRINTD_PID ]] && /usr/bin/plpprintd $PLPPRINTD_ARGS
if [[ $? -gt 0 ]]; then
RETVAL=1
stat_fail
else
- PID=`pidof -o %PPID /usr/sbin/plpprintd`
+ PID=`pidof -o %PPID /usr/bin/plpprintd`
echo $PID > $PLPPRINTD_PIDFILE 2>/dev/null
add_daemon plpprintd
stat_done