Add proper per-file copyright notices/licenses and top-level license.
[bluesky.git] / microbench / setup / cleanup-proxy
1 #!/bin/bash
2 #
3 # Start up the NFS server.
4
5 export BLUESKY_TARGET=s3
6 # Export any environment variables specified on the command line
7 for e in "$@"; do
8     echo "$e" 1>&2
9     if echo "$e" | grep = >/dev/null; then
10         eval "$e"
11         export ${e%=*}
12     fi
13 done
14
15 if [ "$BLUESKY_TARGET" = "native" ]; then
16     /etc/init.d/nfs-kernel-server stop
17     umount /export
18     mkfs.ext3 -F /dev/sdb
19     mount /export
20 else
21     rm -rf /export/journal
22 fi