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 cd /tmp/output
mkdir configs mkdir configs
mv * configs mv * configs
mkdir $CONFIGS/squash mkdir "$CONFIGS/squash"
mkdir $CONFIGS/squash/$name mksquashfs . "$CONFIGS/squash/$name.squashfs"
mksquashfs . $CONFIGS/squash/$name.squashfs cp "/tmp/output/configs/vpn/$name.pub" "$CONFIGS/squash/$name.pub"
cp /tmp/output/configs/vpn/$name.pub $CONFIGS/squash/$name.pub
echo "$name" echo "$name"