mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-21 11:52:42 +01:00
22 lines
663 B
Bash
Executable file
22 lines
663 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. /usr/share/libubox/jshn.sh
|
|
|
|
case "$1" in
|
|
list)
|
|
echo '{ "status" : {}, "stats": {}, "scanresults": {} }'
|
|
;;
|
|
call)
|
|
case "$2" in
|
|
status)
|
|
cat /tmp/wifi.radio.test2.status.data 2>/dev/null
|
|
;;
|
|
stats)
|
|
cat /tmp/wifi.radio.test2.stats.data 2>/dev/null
|
|
;;
|
|
scanresults)
|
|
cat /tmp/wifi.radio.test2.scanresults.data 2>/dev/null
|
|
;;
|
|
esac
|
|
;;
|
|
esac
|