diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:49:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:49:31 +0100 |
commit | 36ac65103bf5503e5bad1ecc7e8cb9e7643f6840 (patch) | |
tree | d9d1fbc20509d4c90f57fb2d9e1459bc8034c831 /sys-cluster/rdma-core/files/srpd.init | |
parent | a1392efe64137262023d92492396ca9156d22396 (diff) |
Revert "gentoo resync : 13.09.2019"
This reverts commit a1392efe64137262023d92492396ca9156d22396.
Diffstat (limited to 'sys-cluster/rdma-core/files/srpd.init')
-rw-r--r-- | sys-cluster/rdma-core/files/srpd.init | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys-cluster/rdma-core/files/srpd.init b/sys-cluster/rdma-core/files/srpd.init deleted file mode 100644 index 07f5ec2d29a7..000000000000 --- a/sys-cluster/rdma-core/files/srpd.init +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/sbin/srp_daemon.sh" -pidfile="/run/${SVCNAME}.pid" -start_stop_daemon_args="-b -m" - -rdma_config="/etc/infiniband/openib.conf" -[ -f ${rdma_config} ] && source ${rdma_config} - -[ ${SRP_DEFAULT_TL_RETRY_COUNT} ] && command_args="-l ${SRP_DEFAULT_TL_RETRY_COUNT}" - -start_pre() { - if ! [ -e /sys/module/ib_srp ]; then - eerror "SRP kernel module is not loaded, unable to start SRP daemon" - return 1 - fi - return 0 -} |