mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d7fb8fd63e
commit
f00050a5a6
@ -108,10 +108,8 @@ echo "# client config:"
|
|||||||
@ mkdir -p clients
|
@ mkdir -p clients
|
||||||
@ pct pull $ID /etc/wireguard/clients/default.conf clients/default.conf
|
@ pct pull $ID /etc/wireguard/clients/default.conf clients/default.conf
|
||||||
# show the profile as a qrcode...
|
# show the profile as a qrcode...
|
||||||
if [ "$QRCODE" ] \
|
if [ "$QRCODE" ] ; then
|
||||||
&& which qrencode > /dev/null 2>&1 ; then
|
|
||||||
echo "# default profile:"
|
echo "# default profile:"
|
||||||
#qrencode -t UTF8 -r clients/default.conf
|
|
||||||
@ lxc-attach $ID -- qrencode -t UTF8 -r /etc/wireguard/clients/default.conf
|
@ lxc-attach $ID -- qrencode -t UTF8 -r /etc/wireguard/clients/default.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user