Rename InfoFlow to Daynivo: texts and boot splash logo
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
be80288a6e
commit
e615f970bc
11 files changed
+22
-22
No files matched your search
+6
-6
@@ -153,16 +153,16 @@ install -d -o voxip -g voxip -m 0750 /var/lib/voxip-kiosk
|
||||
install -d -o root -g root -m 0755 /var/lib/voxip-kiosk-network
|
||||
install -d -o voxip -g voxip -m 0750 /var/log/voxip-kiosk
|
||||
|
||||
# Migrate from InfoFlow's raspberry-pi/install-kiosk.sh: take over its URL, then disable it.
|
||||
INFOFLOW_UNIT=/etc/systemd/system/display-kiosk.service
|
||||
if [[ -f $INFOFLOW_UNIT ]]; then
|
||||
OLD_URL="$(grep -oE 'https://[^" ]+' "$INFOFLOW_UNIT" | tail -n1 || true)"
|
||||
# Migrate from Daynivo's raspberry-pi/install-kiosk.sh: take over its URL, then disable it.
|
||||
LEGACY_KIOSK_UNIT=/etc/systemd/system/display-kiosk.service
|
||||
if [[ -f $LEGACY_KIOSK_UNIT ]]; then
|
||||
OLD_URL="$(grep -oE 'https://[^" ]+' "$LEGACY_KIOSK_UNIT" | tail -n1 || true)"
|
||||
if [[ -n $OLD_URL && -z $URL && ! -f $ETC/config.json ]]; then
|
||||
URL="$OLD_URL"
|
||||
say "URL overgenomen van de InfoFlow-kioskinstallatie"
|
||||
say "URL overgenomen van de Daynivo-kioskinstallatie"
|
||||
fi
|
||||
if [[ $LIVE -eq 1 ]]; then systemctl disable --now display-kiosk.service 2>/dev/null || true; fi
|
||||
mv "$INFOFLOW_UNIT" "$INFOFLOW_UNIT.voxip-disabled"
|
||||
mv "$LEGACY_KIOSK_UNIT" "$LEGACY_KIOSK_UNIT.voxip-disabled"
|
||||
fi
|
||||
|
||||
PYRUN=(python3 -I -c)
|
||||
|
||||
Reference in new issue
Block a user