fix: bind physical SIMs and validate multi-arch images

This commit is contained in:
MengMengCode
2026-08-13 11:01:36 +08:00
parent c436e12532
commit b45f7825ca
10 changed files with 135 additions and 38 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -eu
# pcscd daemonizes after startup. Keep failure non-fatal so modem-only
# deployments remain usable and the UI can report a reader diagnostic.
if [ "$(id -u)" = "0" ] && command -v pcscd >/dev/null 2>&1; then
mkdir -p /run/pcscd
pcscd || echo "warning: pcscd failed to start; USB SIM readers may be unavailable" >&2
fi
exec /opt/vocat/bin/vocat "$@"