#!/usr/bin/env bash set -euo pipefail # ──────────────────────────────────────────────────────────────── # USB automount feature — auto-mounts removable USB storage. # # Installed on demand with: ./install.sh --feature # → copied to /usr/local/bin/usb-automount.sh (chmod 755) # → flag "usb-automount" is set # # Triggers: # - boot + hotplug via systemd/usb-automount.service (the udev # rule below is self-installed on first root run) # - manual: sudo usb-automount.sh # # Behavior: mounts every unmounted removable block device at # /media/