Update market, account, and onion operations
Capture the current CyberLux UI, commerce, messaging, and Tor ops updates so local main can be pushed to the remote. Made-with: Cursor
This commit is contained in:
@@ -30,18 +30,30 @@ echo ""
|
||||
echo "CyberLux .onion URLs (http:// only — open in Tor Browser)"
|
||||
echo "────────────────────────────────────────────────────────────"
|
||||
|
||||
ready=0
|
||||
while IFS= read -r d || [[ -n "${d}" ]]; do
|
||||
[[ -z "${d}" ]] && continue
|
||||
f="/var/lib/tor/${d}/hostname"
|
||||
host="$(read_host "${f}")"
|
||||
if [[ -n "${host}" ]]; then
|
||||
printf '%-28s http://%s\n' "${d}" "${host}"
|
||||
((ready++)) || true
|
||||
else
|
||||
printf '%-28s (no hostname yet — %s)\n' "${d}" "${f}"
|
||||
fi
|
||||
done < "${TOR_DIRS}"
|
||||
|
||||
echo "────────────────────────────────────────────────────────────"
|
||||
echo ""
|
||||
echo "If lines show (no hostname yet): wait for Tor, or sudo ls -la /var/lib/tor/"
|
||||
if [[ "${ready}" -eq 0 ]] && [[ -f "${REPO}/onion-urls.txt" ]]; then
|
||||
echo ""
|
||||
echo "Could not read /var/lib/tor (permission). Last exported list:"
|
||||
echo "────────────────────────────────────────────────────────────"
|
||||
grep -vE '^#|^$' "${REPO}/onion-urls.txt" 2>/dev/null | head -120 || true
|
||||
echo ""
|
||||
echo "Refresh: sudo bash ${REPO}/scripts/export-onion-urls.sh"
|
||||
elif [[ "${ready}" -eq 0 ]]; then
|
||||
echo ""
|
||||
echo "No hostnames resolved. Ensure Tor is running and keys exist under /var/lib/tor/,"
|
||||
echo "or run: sudo bash ${REPO}/scripts/export-onion-urls.sh"
|
||||
fi
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user