]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | ||
3 | [ -f /etc/sysconfig/nfsd ] && . /etc/sysconfig/nfsd | |
4 | ||
5 | # Tell idmapd the server is up and running | |
6 | /usr/bin/pkill -HUP rpc.idmapd | |
7 | ||
8 | # | |
9 | # Enabled the RDMA server support if configured to do so. | |
10 | # | |
11 | # Load the module and then enable the server to listen | |
12 | # on the given port | |
13 | if [ -n "$RDMA_PORT" ]; then | |
14 | /sbin/modprobe svcrdma | |
15 | echo "rdma $RDMA_PORT" > /proc/fs/nfsd/portlist | |
16 | fi | |
17 | ||
18 | exit 0 |