Button to disable shadowsocks

is there an api/function I can use to make a single button to effectively disable all of shadowsocks as if I clicked all off the "disable" options in the shadowsocks luci app, but with a single click of a button?
Albeit while still having to click the "save & apply" button afterwards to actually save and apply it.

In the future, it would be best to stay within your original thread.

But since this thread is now here, It sounds like you have multiple items in your shadowsocks config? If that is the case, a shell script might be the most straight forward approach. if you have a physical button on your router, you can use the hotplug buttons feature and assign the script to a button press.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.