summaryrefslogtreecommitdiff
path: root/openwrt/package/gcom/files/getcardinfo.gcom
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/gcom/files/getcardinfo.gcom')
-rw-r--r--openwrt/package/gcom/files/getcardinfo.gcom14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/gcom/files/getcardinfo.gcom b/openwrt/package/gcom/files/getcardinfo.gcom
new file mode 100644
index 0000000000..5c69a64604
--- /dev/null
+++ b/openwrt/package/gcom/files/getcardinfo.gcom
@@ -0,0 +1,14 @@
+opengt
+ set com 115200n81
+ set comecho off
+ set senddelay 0.02
+ waitquiet 0.2 0.2
+ flash 0.1
+
+:start
+ send "ATI^m"
+ get 1 "" $s
+ print $s
+
+:continue
+ exit 0