From c4e8b86ab7222c4ef1ff06e77bf2d5aae16d7c19 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Fri, 28 May 2010 03:53:04 -0400 Subject: Changed umounts to be done with the sudo command --- runcthon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runcthon') diff --git a/runcthon b/runcthon index f95e346..8397395 100755 --- a/runcthon +++ b/runcthon @@ -66,7 +66,8 @@ umountall() for mnts in `cat /proc/mounts | grep nfs | awk '{print $2}'` do [ "/mnt/nfsv$vers$proto" = "$mnts" ] && { - ./domount -u /mnt/nfsv$vers$proto + echo "sudo umount /mnt/nfsv$vers$proto" + sudo umount /mnt/nfsv$vers$proto } done done -- cgit