Browse Source

Fix UCI config section names for OpenWrt

Luis Rosales 2 tháng trước cách đây
mục cha
commit
81ef107b01
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  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'