16 lines
		
	
	
		
			287 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			287 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
. /etc/sysconfig/nfs
 | 
						|
 | 
						|
#
 | 
						|
# Enabled the RDMA server support if configured to do so.
 | 
						|
# 
 | 
						|
# Load the module and  then enable the server to listen 
 | 
						|
# on the given port
 | 
						|
if [ -n "$RDMA_PORT" ]; then 
 | 
						|
	/sbin/modprobe svcrdma
 | 
						|
	echo "rdma $RDMA_PORT" > /proc/fs/nfsd/portlist
 | 
						|
fi
 | 
						|
 | 
						|
exit 0
 |