op-packages/3ginfo/files-html-old/usr/share/3ginfo/scripts/virginmobile_pdu.sh
github-actions[bot] 32600acc60 🌴 Sync 2026-03-05 23:51:42
2026-03-05 23:51:42 +08:00

11 lines
288 B
Bash

#!/bin/sh
. /usr/share/3ginfo/scripts/functions.sh
DEVICE=$(uci -q get 3ginfo.@3ginfo[0].device)
O=$(gcom -d $DEVICE -s /usr/share/3ginfo/scripts/virginmobile_pdu.gcom | cut -f2 -d\")
if [ ! -z "$O" ]; then
pdu2txt "$O"
else
echo "Problem operatora - brak możliwości sprawdzenia"
fi