mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
22 lines
645 B
Bash
Executable file
22 lines
645 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. /usr/share/libubox/jshn.sh
|
|
|
|
case "$1" in
|
|
list)
|
|
echo '{ "status" : {}, "stats": {}, "stations": {} }'
|
|
;;
|
|
call)
|
|
case "$2" in
|
|
status)
|
|
cat /tmp/wifi.ap.test1.status.data 2>/dev/null
|
|
;;
|
|
stats)
|
|
cat /tmp/wifi.ap.test1.stats.data 2>/dev/null
|
|
;;
|
|
stations)
|
|
cat /tmp/wifi.ap.test1.stations.data 2>/dev/null
|
|
;;
|
|
esac
|
|
;;
|
|
esac
|