summaryrefslogtreecommitdiffstats
path: root/runcthon
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-01-26 11:09:27 -0500
committerSteve Dickson <steved@redhat.com>2010-01-26 11:09:27 -0500
commitd8d75e7d8e2f95497d2d23d46390b183ffdf2fb4 (patch)
tree9405a990e2504524a061c25f87b7d3c8378f8f01 /runcthon
parentac6385d4cb507369edeaf29db21fce4757b786d2 (diff)
downloadcthon04-d8d75e7d8e2f95497d2d23d46390b183ffdf2fb4.tar.gz
cthon04-d8d75e7d8e2f95497d2d23d46390b183ffdf2fb4.tar.xz
cthon04-d8d75e7d8e2f95497d2d23d46390b183ffdf2fb4.zip
Replaced the sudo umount with ./domount -u
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'runcthon')
-rwxr-xr-xruncthon4
1 files changed, 2 insertions, 2 deletions
diff --git a/runcthon b/runcthon
index bff2f06..f5553ef 100755
--- a/runcthon
+++ b/runcthon
@@ -53,7 +53,7 @@ sec=$5
mv /tmp/nfsv$vers$proto /tmp/nfsv$vers$proto-`date +"%H:%M:%S"`.error
}
[ -d $mnt/nfsv$vers$proto/`hostname -s`.test ] &&
- sudo umount $mnt/nfsv$vers$proto ) &
+ ./domount -u $mnt/nfsv$vers$proto ) &
}
umountall()
{
@@ -64,7 +64,7 @@ umountall()
for mnts in `cat /proc/mounts | grep nfs | awk '{print $2}'`
do
[ "/mnt/nfsv$vers$proto" = "$mnts" ] && {
- sudo umount /mnt/nfsv$vers$proto
+ ./domount -u /mnt/nfsv$vers$proto
}
done
done