Rename squashfs-start.sh to conty-start.sh

This commit is contained in:
Kron4ek 2021-04-12 02:50:25 +05:00
parent 9d73f302f8
commit 313958776c
3 changed files with 4 additions and 4 deletions

View file

@ -171,7 +171,7 @@ the container.
If you want to use some other distro, then you need to manually obtain it from somewhere.
For the sake of convenience, there are compiled binaries of bwrap and squashfuse and their dependencies (utils.tar) uploaded in this repo, you can use them or you can use your own binaries. Use the **create-utils.sh** script to easily compile your own bwrap and squashfuse. Just make sure to set the correct size of the **utils.tar** in the **squashfs-start.sh**.
For the sake of convenience, there are compiled binaries of bwrap and squashfuse and their dependencies (utils.tar) uploaded in this repo, you can use them or you can use your own binaries. Use the **create-utils.sh** script to easily compile your own bwrap and squashfuse. Just make sure to set the correct size of the **utils.tar** in the **conty-start.sh**.
```
./create-utils.sh

View file

@ -22,8 +22,8 @@ if [ ! -f utils.tar ] || [ "$(wc -c < utils.tar)" -lt 1000 ]; then
wget -q --show-progress "https://github.com/Kron4ek/Conty/raw/master/utils.tar"
fi
if [ ! -f squashfs-start.sh ]; then
echo "squashfs-start.sh is required!"
if [ ! -f conty-start.sh ]; then
echo "conty-start.sh is required!"
exit 1
fi
@ -48,7 +48,7 @@ if [ ! -f image ] || [ "${use_existing_image}" != "true" ]; then
fi
# Combine the files into a single executable using cat
cat squashfs-start.sh utils.tar image > conty.sh
cat conty-start.sh utils.tar image > conty.sh
chmod +x conty.sh
clear