mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 10:40:07 +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
|
||||
@ pct pull $ID /etc/wireguard/clients/default.conf clients/default.conf
|
||||
# show the profile as a qrcode...
|
||||
if [ "$QRCODE" ] \
|
||||
&& which qrencode > /dev/null 2>&1 ; then
|
||||
if [ "$QRCODE" ] ; then
|
||||
echo "# default profile:"
|
||||
#qrencode -t UTF8 -r clients/default.conf
|
||||
@ lxc-attach $ID -- qrencode -t UTF8 -r /etc/wireguard/clients/default.conf
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user