rootcopy custom

This commit is contained in:
2020-01-19 18:15:33 +01:00
parent f02e73e522
commit a3bfaccea1
9 changed files with 489 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# Author: Tomas M. <http://www.slax.org/>
if [ ! -e "$1" ]; then
echo
echo "Erase module directory created by sb2dir"
echo "Usage: $0 [source_directory.sb]"
exit 1
fi
if [ ! -d "$1" ]; then
echo "Directory does not exist: $1" >&2
exit
fi
umount "$1" 2>/dev/null
rm -Rf "$1"