GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — OpenDVM/install_raspi34.sh at main · DB0SL/OpenDVM Expand file tree/ Copy pathinstall_raspi34.shMore file actions executable file ·34 lines (27 loc) · 1.23 KB / Copy pathinstall_raspi34.shFile metadata and controlsexecutable file ·34 lines (27 loc) · 1.23 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 #!/usr/bin/env bash set -e # Root nötig [ "$EUID" -ne 0 ] && { echo "Bitte mit sudo starten."; exit 1; } # Boot-Pfad ermitteln (Bookworm=/boot/firmware, sonst /boot) BOOT="/boot/firmware"; [ -d /boot ] && [ ! -d "$BOOT" ] && BOOT="/boot" CFG="$BOOT/config.txt" CMD="$BOOT/cmdline.txt" # Backups (einmalig) cp -n "$CFG" "$CFG.bak" 2>/dev/null || true cp -n "$CMD" "$CMD.bak" 2>/dev/null || true # UART aktiv + BT aus (generisches Overlay) if grep -qE '^\s*enable_uart=' "$CFG"; then sed -i 's/^\s*enable_uart=.*/enable_uart=1/' "$CFG" else printf "\n# MMDVM HAT\nenable_uart=1\n" >> "$CFG" fi grep -qE '^\s*dtoverlay=disable-bt' "$CFG" || printf "dtoverlay=disable-bt\n" >> "$CFG" # Serielle Konsole aus cmdline entfernen (console=… / kgdboc=…) sed -i -E 's/\s*console=(serial0|ttyAMA0|ttyS0),[0-9]+//g; s/\s*kgdboc=(serial0|ttyAMA0|ttyS0),[0-9]+//g' "$CMD" # Mehrfache Spaces aufräumen sed -i -E 's/\s+/ /g; s/^ //; s/ $//' "$CMD" # Getty auf seriellen Ports stoppen/deaktivieren (falls aktiv) echo "Ready. Please reboot NOW!" |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |