Files
quectel-rgmii-toolkit/opkg-feed/installer/openwrt-sdxlemur-skel/usr/sbin/ntpd-hotplug
Cameron Thompson a4794ad36f Final Prep
2025-07-21 22:59:17 -04:00

13 lines
265 B
Bash
Executable File

#!/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)"