瀏覽代碼

Fix UCI config section names for OpenWrt

Luis Rosales 2 月之前
父節點
當前提交
81ef107b01
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      package/files/etc/config/client2server

+ 4 - 4
package/files/etc/config/client2server

@@ -6,25 +6,25 @@ config client2server 'general'
     option buffer_file '/tmp/event_buffer'
     option max_buffer '100'
 
-config server
+config client2server 'server'
     option url 'wss://your-server.com/ws'
     option token 'CHANGE_ME_SECRET_TOKEN'
     option reconnect_delay '5'
     option ping_interval '30'
     option timeout '10'
 
-config router
+config client2server 'router'
     option id ''
     option hostname ''
 
-config wan
+config client2server 'wan'
     option interface 'wan'
     option device 'eth0'
     option monitor_dhcp '1'
     option monitor_wan '1'
     option monitor_ip_change '1'
 
-config events
+config client2server 'events'
     option send_dhcp '1'
     option send_wan '1'
     option send_uptime '0'