From 270a30c1a350d791053937c72e6ce6cc63a64088 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 13 Dec 2007 23:40:55 +0000 Subject: Replace plpnfsd with plpfuse. Other minor simplifications to the build system. --- etc/psion.in | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'etc/psion.in') diff --git a/etc/psion.in b/etc/psion.in index fa807f7..57a5c57 100755 --- a/etc/psion.in +++ b/etc/psion.in @@ -1,6 +1,6 @@ #!/bin/sh # -# psion Starts ncpd/plpnfsd. +# psion Starts ncpd/plpfuse. # # chkconfig: 2345 45 10 # description: This facility enables connectivity to a Psion series 5. @@ -9,7 +9,6 @@ . /etc/rc.d/init.d/functions [ -f @prefix@/sbin/ncpd ] || exit 0 -[ -f @prefix@/sbin/plpnfsd ] || exit 0 [ -f @prefix@/sbin/plpprintd ] || exit 0 [ -f /etc/sysconfig/psion ] || exit 0 . /etc/sysconfig/psion @@ -24,12 +23,6 @@ start() { echo fi if [ $RETVAL -eq 0 ] ; then - if test "$START_PLPNFSD" = "yes" ; then - echo -n " plpnfsd: " - daemon @prefix@/sbin/plpnfsd $PLPNFSD_ARGS - RETVAL=$? - echo - fi if test "$START_PLPPRINTD" = "yes" ; then echo -n " plpprintd: " daemon @prefix@/sbin/plpprintd $PLPPRINTD_ARGS @@ -44,18 +37,6 @@ start() { stop() { echo "Stopping Psion support ..." RETVAL=0 - if test "$START_PLPNFSD" = "yes" ; then - echo -n " plpnfsd: " - killproc plpnfsd -HUP - WAIT=5 - while test $WAIT -gt 0 ; do - test -z "`pidofproc plpnfsd`" && break; - sleep 1 # allow plpnfsd flushing it's cache - WAIT=`expr $WAIT - 1` - done - test -z "`pidofproc plpnfsd`" || killproc plpnfsd - echo - fi if test "$START_PLPPRINTD" = "yes" ; then echo -n " plpprintd: " killproc plpprintd @@ -86,7 +67,6 @@ case "$1" in ;; status) status ncpd - status plpnfsd status plpprintd ;; restart|reload) -- cgit v1.2.3