Whamcloud - gitweb
* Modified socknal to...
[fs/lustre-release.git] / lustre / portals / tests / stopserver.sh
1 #!/bin/sh
2
3 SIMPLE=${SIMPLE:-1}
4
5 if [ $SIMPLE -eq 0 ]; then
6         PING=spingsrv
7 else
8         PING=pingsrv
9 fi
10
11 rmmod $PING
12 NAL=`cat /tmp/nal`;
13 rmmod $NAL
14 killall -9 acceptor
15 rm -f /var/run/acceptor-9999.pid
16 rmmod portals