Linux NFS development
 help / color / mirror / Atom feed
From: Benny Halevy <bhalevy@tonian.com>
To: Jim Rees <rees@umich.edu>
Cc: linux-nfs@vger.kernel.org, peter honeyman <honey@citi.umich.edu>,
	steved@redhat.com
Subject: Re: [PATCH 1/2] blkmapd: remove init file
Date: Mon, 15 Aug 2011 10:32:18 +0300	[thread overview]
Message-ID: <4E48CB82.8040803@tonian.com> (raw)
In-Reply-To: <1313086701-7103-1-git-send-email-rees@umich.edu>

Thanks.  I pushed those to
git://linux-nfs.org/~bhalevy/pnfs-nfs-utils.git
at pnfs-nfs-utils-1-2-5-rc1-2011-08-15
(and pnfs-nfs-utils-1-2-4-2011-08-12)

Benny

On 2011-08-11 21:18, Jim Rees wrote:
> Signed-off-by: Jim Rees <rees@umich.edu>
> ---
>  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

      parent reply	other threads:[~2011-08-15  7:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 18:18 [PATCH 1/2] blkmapd: remove init file Jim Rees
2011-08-11 18:18 ` [PATCH 2/2] blkmapd: add man page Jim Rees
2011-08-15  7:32 ` Benny Halevy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E48CB82.8040803@tonian.com \
    --to=bhalevy@tonian.com \
    --cc=honey@citi.umich.edu \
    --cc=linux-nfs@vger.kernel.org \
    --cc=rees@umich.edu \
    --cc=steved@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox