From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SKY1s-0003q7-MO for garchives@archives.gentoo.org; Wed, 18 Apr 2012 16:46:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3732BE0793; Wed, 18 Apr 2012 16:46:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 05F6AE0793 for ; Wed, 18 Apr 2012 16:46:44 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3EAB21B4012 for ; Wed, 18 Apr 2012 16:46:44 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2234) id 069652004B; Wed, 18 Apr 2012 16:46:43 +0000 (UTC) From: "Alexey Shvetsov (alexxy)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, alexxy@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-infiniband/srptools/files: srpd.initd X-VCS-Repository: gentoo-x86 X-VCS-Files: srpd.initd X-VCS-Directories: sys-infiniband/srptools/files X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov Content-Type: text/plain; charset=utf8 Message-Id: <20120418164643.069652004B@flycatcher.gentoo.org> Date: Wed, 18 Apr 2012 16:46:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8204da9a-5831-4616-87db-1b80481ad674 X-Archives-Hash: e4a909d0bd741e3a7eb08df3c209f25c alexxy 12/04/18 16:46:43 Added: srpd.initd Log: [sys-infiniband/srptools] Version bump to OFED 1.5.4.1 =20 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64) Revision Changes Path 1.1 sys-infiniband/srptools/files/srpd.initd file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/srp= tools/files/srpd.initd?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/srp= tools/files/srpd.initd?rev=3D1.1&content-type=3Dtext/plain Index: srpd.initd =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #!/sbin/runscript # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-infiniband/srptools/files/srpd.ini= td,v 1.1 2012/04/18 16:46:42 alexxy Exp $ description=3D"SCSI RDMA Protoaemon daemon" depend() { need net } checkconfig() { if ! modinfo ib_srp > /dev/null 2>&1 ; then eerror "ib_srp module not found!" return 1 fi } start() { checkconfig ebegin "Loading ib_srp module" modprobe ib_srp eend $? ebegin "Starting srp_daemon" start-stop-daemon \ --start \ --background \ --make-pidfile \ --pidfile ${SRP_DAEMON_PID:-/var/run/srpd.pid} \ --exec /usr/sbin/srp_daemon -- ${SRP_DAEMON_OPTS:- -e -R 60} eend $? =09 } stop() { ebegin "Stopping srp_daemon" start-stop-daemon --stop --pidfile ${SRP_DAEMON_PID:-/var/run/srpd.pid} eend $? ebegin "Unloading ib_srp module" rmmod ib_srp eend $? }