Remove unused function umountAndClean()
This commit is contained in:
parent
e0e3d61cbe
commit
1f6dfd7996
|
@ -640,12 +640,4 @@ runScript() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
umountAndClean() {
|
|
||||||
swapoff /mnt/swapfile
|
|
||||||
rm /mnt/swapfile
|
|
||||||
umount -R /mnt
|
|
||||||
swapoff /dev/sda2
|
|
||||||
parted -s /dev/sda mklabel gpt
|
|
||||||
}
|
|
||||||
|
|
||||||
runScript "$@"
|
runScript "$@"
|
||||||
|
|
Loading…
Reference in New Issue