mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-14 21:20:28 +01:00
25 lines
782 B
Bash
Executable file
25 lines
782 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. /usr/share/libubox/jshn.sh
|
|
|
|
case "$1" in
|
|
list)
|
|
echo '{ "status" : {}, "stats": {}, "scanresults": {} , "channels": {}}'
|
|
;;
|
|
call)
|
|
case "$2" in
|
|
status)
|
|
cat /tmp/wifi.radio.test1.status.data 2>/dev/null
|
|
;;
|
|
stats)
|
|
cat /tmp/wifi.radio.test1.stats.data 2>/dev/null
|
|
;;
|
|
scanresults)
|
|
cat /tmp/wifi.radio.test1.scanresults.data 2>/dev/null
|
|
;;
|
|
channels)
|
|
cat /tmp/wifi.radio.test1.channels.data 2>/dev/null
|
|
;;
|
|
esac
|
|
;;
|
|
esac
|