cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-01-11 00:00:42 +03:00
parent d7fb8fd63e
commit f00050a5a6

View File

@ -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