mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-01-28 01:47:18 +01:00
20 lines
471 B
Bash
Executable file
20 lines
471 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. /usr/share/libubox/jshn.sh
|
|
|
|
case "$1" in
|
|
list)
|
|
echo '{ "status" : {}, "stats" : {} }'
|
|
;;
|
|
call)
|
|
case "$2" in
|
|
status)
|
|
cat /tmp/fast_status.data 2>/dev/null
|
|
;;
|
|
stats)
|
|
cat /tmp/fast_stats.data 2>/dev/null
|
|
;;
|
|
esac
|
|
;;
|
|
esac
|
|
|