G-dock 2.0 Openwrt -
killall -HUP g-dockd
-- Example: Toggle LED plugin function on_click() local status = io.popen("uci get system.led.wan: led"):read() if status == "1" then os.execute("uci set system.led.wan=0 && uci commit") else os.execute("uci set system.led.wan=1 && uci commit") end g_dock.notify("LED toggled") end function get_icon() return "/usr/share/g-dock/icons/led.png" end g-dock 2.0 openwrt
logread | grep g-dock Report compiled based on OpenWrt 23.05, G-Dock 2.1.3, and community documentation as of 2025. killall -HUP g-dockd -- Example: Toggle LED plugin
g-dock-test --display=ssd1306 --width=128 --height=64 g-dock 2.0 openwrt