@@ -2,6 +2,10 cleanup (){ | |||
|
2 | 2 | # Clean up all temporary mount points |
|
3 | 3 | set +x |
|
4 | 4 | set +e |
|
5 | echo "killing processes using mount point ..." | |
|
6 | fuser -k $R | |
|
7 | sleep 3 | |
|
8 | fuser -9 -k -v $R | |
|
5 | 9 | echo "removing temporary mount points ..." |
|
6 | 10 | umount -l $R/proc 2> /dev/null |
|
7 | 11 | umount -l $R/sys 2> /dev/null |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant