User manual

7:File system
_______________________________________________________________________________________________________
root@VA_router:~# uci commit
7.1.3.1 Command line utility examples
To export an entire configuration, enter:
root@VA_router:~# uci export
To export the configuration for a single package, enter: uci export <package>.
root@VA_router:~# uci export system
package system
config system 'main'
option hostname 'VA_router'
option zonename 'Europe/Dublin'
option timezone 'GMT0IST,M3.5.0/1,M10.5.0'
option cronloglevel '9'
option log_ip '0.0.0.0'
option log_port '514'
config timeserver 'ntp'
list server '0.openwrt.pool.ntp.org'
list server '1.openwrt.pool.ntp.org'
list server '2.openwrt.pool.ntp.org'
list server '3.openwrt.pool.ntp.org'
To show an alternate view of a configuration file, enter uci show:
root@VA_router:~# uci show system
system.main=system
system.main.hostname=VA_router
system.main.zonename=Europe/Dublin
system.main.timezone=GMT0IST,M3.5.0/1,M10.5.0
system.main.cronloglevel=9
system.main.log_ip=0.0.0.0
system.main.log_port=514
system.ntp=timeserver
system.ntp.server=0.openwrt.pool.ntp.org 1.openwrt.pool.ntp.org
2.openwrt.pool.ntp.org 3.openwrt.pool.ntp.org
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 26 of 255