26.08.2021, 18:29
(23.06.2021, 15:35)Daniel. Wrote:Code:enabled = event.getvalue()
require('uci')
uci.set('zerotier', 'default', 'enabled', enabled and 1 or 0)
uci.commit('zerotier')
os.execute('/etc/init.d/zerotier restart')
Hi Daniel,
Can you help me with a script for Enable and Disable the Zerotier from a GA?
Im running a Iot Edge and want to restrict the data usage, and want to remotly enable / disable Zerotier from Mosaic.
Best Regard
Even Sundgot.