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

Always overwrite qrcode during initial setup

parent e14deb28
No related branches found
No related tags found
No related merge requests found
......@@ -155,10 +155,6 @@ webadmin_monitor_ip_ctr=1
function homepage_create_qr_code {
webadmin_onion_domain="$1"
if [ -f "$homepage_install_dir/images/homepage_qrcode.png" ]; then
return
fi
if [ ! -f /usr/local/bin/myqr ]; then
echo -n "http://${webadmin_onion_domain}/home" | qrencode -t PNG -o "$homepage_install_dir/images/homepage_qrcode.png"
else
......
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