Fix minimize script: keep bluetooth+wifi, update baseline doc
This commit is contained in:
+5
-11
@@ -87,9 +87,7 @@ info "Step 1: Removing unnecessary packages..."
|
||||
|
||||
# ── Packages we KNOW we don't need on a headless audio pedal ──────────────
|
||||
PACKAGES_TO_PURGE=(
|
||||
# Bluetooth (no BT on a pedal)
|
||||
bluez bluez-tools bluez-firmware pi-bluetooth
|
||||
# Printing
|
||||
# Printing (no USB printers on a pedal)
|
||||
cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-filters cups-ppdc cups-server-common
|
||||
# Avahi/mDNS (not needed for local audio)
|
||||
avahi-daemon avahi-autoipd avahi-utils
|
||||
@@ -183,7 +181,6 @@ fi
|
||||
info "Step 2: Disabling unnecessary systemd services..."
|
||||
|
||||
SERVICES_TO_DISABLE=(
|
||||
bluetooth
|
||||
avahi-daemon
|
||||
triggerhappy
|
||||
ModemManager
|
||||
@@ -239,14 +236,11 @@ blacklist snd_hda_intel
|
||||
blacklist snd_hda_codec
|
||||
blacklist snd_hda_core
|
||||
|
||||
# Bluetooth
|
||||
blacklist bluetooth
|
||||
blacklist btusb
|
||||
blacklist btbcm
|
||||
# Bluetooth — KEPT (wireless MIDI controllers, tuner apps)
|
||||
# Do NOT blacklist bluetooth modules
|
||||
|
||||
# WiFi (wired-only mode)
|
||||
blacklist brcmfmac
|
||||
blacklist brcmutil
|
||||
# WiFi — KEPT (web UI, SSH, preset downloads)
|
||||
# Do NOT blacklist wifi modules
|
||||
|
||||
# Unused input devices
|
||||
blacklist joydev
|
||||
|
||||
Reference in New Issue
Block a user