2 . /usr/share/libubox/jshn.sh
4 json_load "$(ubus call session create)"
5 json_get_var sid ubus_rpc_session
9 json_add_string ubus_rpc_session "$sid"
10 json_add_array "objects"
12 json_add_string "" "session"
13 json_add_string "" "list"
17 ubus call session grant "$(json_dump)"
31 }' "http://localhost:8080/ubus"
55 ]' "http://localhost:8080/ubus"