From patchwork Thu Aug 11 18:18:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Rees X-Patchwork-Id: 1058292 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7BIEFiw019416 for ; Thu, 11 Aug 2011 18:18:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751164Ab1HKSSZ (ORCPT ); Thu, 11 Aug 2011 14:18:25 -0400 Received: from merit-proxy02.merit.edu ([207.75.116.194]:59517 "EHLO merit-proxy02.merit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041Ab1HKSSZ (ORCPT ); Thu, 11 Aug 2011 14:18:25 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by merit-proxy02.merit.edu (Postfix) with ESMTP id 64F8F2039AF9; Thu, 11 Aug 2011 14:18:24 -0400 (EDT) X-Virus-Scanned: amavisd-new at merit-proxy02.merit.edu Received: from merit-proxy02.merit.edu ([127.0.0.1]) by localhost (merit-proxy02.merit.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KLpa-HjlW6tE; Thu, 11 Aug 2011 14:18:22 -0400 (EDT) Received: from merit.edu (castelmezzano.citi.umich.edu [141.212.112.22]) by merit-proxy02.merit.edu (Postfix) with ESMTPSA id CF71B203987A; Thu, 11 Aug 2011 14:18:21 -0400 (EDT) From: Jim Rees To: Benny Halevy Cc: linux-nfs@vger.kernel.org, peter honeyman Subject: [PATCH 1/2] blkmapd: remove init file Date: Thu, 11 Aug 2011 14:18:20 -0400 Message-Id: <1313086701-7103-1-git-send-email-rees@umich.edu> X-Mailer: git-send-email 1.7.4.1 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 11 Aug 2011 18:18:26 +0000 (UTC) Signed-off-by: Jim Rees --- utils/blkmapd/etc/initd/initd.redhat | 76 ---------------------------------- 1 files changed, 0 insertions(+), 76 deletions(-) delete mode 100644 utils/blkmapd/etc/initd/initd.redhat diff --git a/utils/blkmapd/etc/initd/initd.redhat b/utils/blkmapd/etc/initd/initd.redhat deleted file mode 100644 index d6a77e8..0000000 --- a/utils/blkmapd/etc/initd/initd.redhat +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh -# -# description: Starts and stops the iSCSI initiator -# -# processname: blkmapd -# pidfile: /var/run/blkmapd.pid -# config: /etc/blkmapd.conf - -# Source function library. -if [ -f /etc/init.d/functions ] ; then - . /etc/init.d/functions -elif [ -f /etc/rc.d/init.d/functions ] ; then - . /etc/rc.d/init.d/functions -else - exit 0 -fi - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -RETVAL=0 - -start() -{ - echo -n $"Starting pNFS block-layout device discovery service: " - modprobe -q blocklayoutdriver - daemon /usr/sbin/blkmapd - RETVAL=$? - if [ $RETVAL -eq 0 ]; then - touch /var/lock/subsys/blkmapd - fi - echo - return $RETVAL -} - -stop() -{ - echo -n $"Stopping pNFS block-layout device discovery service: " - killproc blkmapd 2> /dev/null - rm -f /var/run/blkmapd.pid - RETVAL=$? - [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/blkmapd - if [ $RETVAL -eq 0 ]; then - echo_success - else - echo_failure - fi - echo - return $RETVAL -} - -restart() -{ - stop - start -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart) - stop - start - ;; - status) - status blkmapd - ;; - *) - echo $"Usage: $0 {start|stop|restart|status}" - exit 1 -esac - -exit $RETVAL