mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 18:50:08 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
18f0de3ae2
commit
a3fff0cf44
@ -62,8 +62,10 @@ $(SERVER_CONF): $(SERVER_TPL) $(SERVER_KEY)
|
|||||||
-e 's/\$${\CLIENT_PUBLIC_KEY}/'$$(sed -e 's/\//\\\//g' "$(CLIENT_DIR)/$*_id.pub")'/g' \
|
-e 's/\$${\CLIENT_PUBLIC_KEY}/'$$(sed -e 's/\//\\\//g' "$(CLIENT_DIR)/$*_id.pub")'/g' \
|
||||||
-e 's/\$${\SERVER_PUBLIC_KEY}/'$$(sed -e 's/\//\\\//g' "$(SERVER_PUBLIC_KEY)")'/g' \
|
-e 's/\$${\SERVER_PUBLIC_KEY}/'$$(sed -e 's/\//\\\//g' "$(SERVER_PUBLIC_KEY)")'/g' \
|
||||||
>> "$(SERVER_CONF)"
|
>> "$(SERVER_CONF)"
|
||||||
[ -z "$$QRCODE" ] \
|
@if [ -z "$$QRCODE" ] ; then \
|
||||||
|| qrencode -t UTF8 -r "$(CLIENT_DIR)/$*.conf"
|
echo "# Profile: $*:" \
|
||||||
|
qrencode -t UTF8 -r "$(CLIENT_DIR)/$*.conf" \
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
server: $(SERVER_CONF)
|
server: $(SERVER_CONF)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user