-
This commit is contained in:
parent
05ec6b3fc2
commit
f2dce03a29
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user