Files
mi8-platina-linux/ports/candidate/device-xiaomi-platina/platina-usb-network.start
T

6 lines
209 B
Bash

#!/bin/sh
# NetworkManager autoconnect also handles USB appearing after boot or reconnect.
# Do not block boot when the cable is absent.
nmcli --wait 0 connection up platina-usb >/dev/null 2>&1 || true
exit 0