initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
x=$(ls /dev | grep loop9p2 | wc -l)
|
||||
if [ $x -ne 0 ]
|
||||
then
|
||||
echo "delete loop"
|
||||
sudo umount ./raspbian || true
|
||||
sudo losetup -d /dev/loop9 || true
|
||||
fi
|
||||
rm -rf ./tmp ./raspbian || true
|
||||
Reference in New Issue
Block a user