Changes

38 bytes removed ,  12:10, 24 July 2019
m
Line 308: Line 308:  
| style="text-align: left; vertical-align: top;" | Stores SAMBA configuration settings
 
| style="text-align: left; vertical-align: top;" | Stores SAMBA configuration settings
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | /etc/config/simThis section contains no values yet_idle_protection
+
! style="text-align: left; vertical-align: top;" | /etc/config/sim_idle_protection
 
| style="text-align: left; vertical-align: top;" | Stores SIM Idle Protection configuration settings
 
| style="text-align: left; vertical-align: top;" | Stores SIM Idle Protection configuration settings
 
|-
 
|-
Line 428: Line 428:  
===UCI add_list===
 
===UCI add_list===
 
----
 
----
Some variables hold more than one value unlike options. These variables are called '''lists'''. For example, if you use MAC filter on your Wi-Fi Acsess point, the MAC addresses are saved not as options but as a list.
+
Some variables hold more than one value, unlike options. These variables are called '''lists'''. For example, if you use MAC filter on your Wi-Fi Access point, the MAC addresses are saved not as options but as a list.
    
Example of maclist (cmd: uci show wireless):
 
Example of maclist (cmd: uci show wireless):
Line 451: Line 451:  
With all that we have learned lets try a more complicated example: lets you want to create an OpenVPN server. The server will be called '''MyServer''', will use a '''TUN''' type interface and '''TLS''' authentication. In order to create this server we will first have to create a section for the server in the openvpn config:
 
With all that we have learned lets try a more complicated example: lets you want to create an OpenVPN server. The server will be called '''MyServer''', will use a '''TUN''' type interface and '''TLS''' authentication. In order to create this server we will first have to create a section for the server in the openvpn config:
   −
  # uci uci add openvpn server_MyServer
+
  # uci add openvpn server_MyServer
 
  # uci set openvpn.server_MyServer=openvpn
 
  # uci set openvpn.server_MyServer=openvpn
  
0

edits

Navigation menu