Initial parts of the OpenWRT subsystem skeleton

This commit is contained in:
Cameron Thompson
2025-07-20 22:52:23 -04:00
parent d61384c396
commit adca963196
447 changed files with 4715 additions and 2236 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/sh
. /usr/share/libubox/jshn.sh
addenv="$( env | while read line; do echo "json_add_string \"\" \"$line\";"; done )"
json_init
json_add_array env
json_add_string "" "ACTION=$1"
eval "$addenv"
json_close_array env
ubus call hotplug.ntp call "$(json_dump)"