We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 416893a commit 2aac3f9Copy full SHA for 2aac3f9
UBUNTU_unmountscript.sh
@@ -0,0 +1,32 @@
1
+#/bin/bash
2
+
3
+echo ""
4
5
+echo "Unmounting..."
6
+cat log_mountscript.log | xargs umount -n
7
8
+retval=$?
9
+if [ $retval -ne 0 ]; then
10
+ echo "LOG DOESN'T EXISTS !"
11
+ exit
12
+fi
13
14
+echo "Removing mountpoint..."
15
+cat log_mountscript.log | xargs rm -rf
16
17
18
19
+ echo "MOUNTPOINT DOESN'T EXISTS !"
20
21
22
23
+echo "Deleting log..."
24
+rm -rf log_mountscript.log
25
26
27
28
+ echo "CAN'T DELETE LOG !"
29
30
31
32
0 commit comments