Whamcloud - gitweb
Make llmountcleanup.sh use new helper methods.
authoradilger <adilger>
Tue, 12 Mar 2002 00:19:51 +0000 (00:19 +0000)
committeradilger <adilger>
Tue, 12 Mar 2002 00:19:51 +0000 (00:19 +0000)
lustre/tests/llmountcleanup.sh

index f03c5e4..0267679 100755 (executable)
@@ -8,7 +8,7 @@ umount /mnt/obd
 rmmod llight
 rmmod mdc
 
-$R/usr/src/obd/utils/obdctl <<EOF
+$OBDCTL <<EOF
 device 3
 cleanup
 detach
@@ -32,7 +32,7 @@ rmmod obdext2
 rmmod ptlrpc
 rmmod obdclass
 
-$R/usr/src/portals/linux/utils/ptlctl <<EOF
+$PTLCTL <<EOF
 setup tcp
 disconnect localhost
 del_uuid self
@@ -46,4 +46,5 @@ killall acceptor
 rmmod portals
 
 losetup -d ${LOOP}0
-losetup -d ${LOOP}1
\ No newline at end of file
+losetup -d ${LOOP}1
+losetup -d ${LOOP}2