lo-umount.sh 121 Bytes
Newer Older
1 2 3 4 5 6 7
#!/bin/sh

hier=$(dirname $0)
hierabs=$(cd "$hier" && pwd -P)

sudo umount $(dirname $0)/dst
sudo losetup -d /dev/loop0