This commit is contained in:
Mateusz779 2023-04-13 13:51:32 +02:00
parent 05ec6b3fc2
commit f2dce03a29

View File

@ -92,10 +92,9 @@ sed -i '1s/.*/['"$name"']/' /tmp/output/vpn/$(basename "$ini")
cd /tmp/output
mkdir configs
mv * configs
mkdir $CONFIGS/squash
mkdir $CONFIGS/squash/$name
mksquashfs . $CONFIGS/squash/$name.squashfs
cp /tmp/output/configs/vpn/$name.pub $CONFIGS/squash/$name.pub
mkdir "$CONFIGS/squash"
mksquashfs . "$CONFIGS/squash/$name.squashfs"
cp "/tmp/output/configs/vpn/$name.pub" "$CONFIGS/squash/$name.pub"
echo "$name"