diff options
author | Steve Dickson <steved@redhat.com> | 2010-01-26 11:09:27 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-01-26 11:09:27 -0500 |
commit | d8d75e7d8e2f95497d2d23d46390b183ffdf2fb4 (patch) | |
tree | 9405a990e2504524a061c25f87b7d3c8378f8f01 /runcthon | |
parent | ac6385d4cb507369edeaf29db21fce4757b786d2 (diff) | |
download | cthon04-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-x | runcthon | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |