mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 10:40:07 +00:00
experiment...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a84b3846a7
commit
866e8857f0
@ -40,7 +40,7 @@ $(SERVER_CONF): $(SERVER_TPL) $(SERVER_KEY)
|
||||
-e 's/\$${\SERVER_PRIVATE_KEY}/'$$(sed -e 's/\//\\\//g' "$(SERVER_KEY)")'/g' \
|
||||
> "$@"
|
||||
|
||||
%.client: $(CLIENT_TPL) $(SERVER_CLIENT_TPL) \
|
||||
$(CLIENT_DIR)/%.conf: $(CLIENT_TPL) $(SERVER_CLIENT_TPL) \
|
||||
$(CLIENT_DIR)/%_id $(CLIENT_DIR)/%_id.pub \
|
||||
$(SERVER_CONF) $(SERVER_PUBLIC_KEY)
|
||||
@ mkdir -p $(CLIENT_DIR)
|
||||
@ -67,6 +67,14 @@ $(SERVER_CONF): $(SERVER_TPL) $(SERVER_KEY)
|
||||
&& qrencode -t UTF8 -r "$(CLIENT_DIR)/$*.conf" )
|
||||
|
||||
|
||||
%.client: $(CLIENT_DIR)/%.conf
|
||||
|
||||
|
||||
%.qr: %.client
|
||||
@ ( echo "# Profile: $*" \
|
||||
&& qrencode -t UTF8 -r "$(CLIENT_DIR)/$*.conf" )
|
||||
|
||||
|
||||
server: $(SERVER_CONF)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user