#!/bin/bash wwaniface=$(qmicli -p -d /dev/cdc-wdm0 --get-wwan-iface) qmi-network /dev/cdc-wdm0 stop ip link set $wwaniface down