Skip to content
Snippets Groups Projects
Commit 561d1f8e authored by Bob Mottram's avatar Bob Mottram
Browse files

debugging for myqr

parent ee44348d
No related branches found
No related tags found
No related merge requests found
......@@ -374,6 +374,7 @@ function web_admin_create_users {
su -c "gpg --armor --export \"$GPG_ID\"" - "$USERNAME" | qrencode -t PNG -o "$pubkey_qrcode"
else
qrtext=$(su -c "gpg --armor --export \"$GPG_ID\"" - "$USERNAME")
echo "myqr \"$qrtext\" -p /root/freedombone/img/logo_fbone3.png -c -n \"$pubkey_qrcode\""
myqr "$qrtext" -p /root/freedombone/img/logo_fbone3.png -c -n "$pubkey_qrcode"
fi
......
......@@ -142,6 +142,7 @@ function web_admin_create_users {
su -c "gpg --armor --export \"$GPG_ID\"" - "$USERNAME" | qrencode -t PNG -o "$pubkey_qrcode"
else
qrtext=$(su -c "gpg --armor --export \"$GPG_ID\"" - "$USERNAME")
echo "myqr \"$qrtext\" -p /root/freedombone/img/logo_fbone3.png -c -n \"$pubkey_qrcode\""
myqr "$qrtext" -p /root/freedombone/img/logo_fbone3.png -c -n "$pubkey_qrcode"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment