User manual

7:File system
_______________________________________________________________________________________________________
To display just the value of an option, enter:
root@VA_router:~# uci get system.main.hostname
VA_router
7.1.4 Configuration copying and deleting
Manage configurations using directory manipulation.
To remove the contents of the current folder, enter:
root@VA_router:/etc/config1# rm f *
To remove the contents of a specific folder regardless of the current folder
(config2), enter:
root@VA_router:/ # rm f /etc/config1/*
To copy the contents of one folder into another (config2 into config1), enter:
root@VA_router:/etc/config1# cp /etc/config2/* /etc/config1
7.1.5 Image files
The system allows for two firmware image files:
image1, and
image2
Two firmware images are supported to enable the system to rollback to a
previous firmware version if the upgrade of one fails.
The image names (image1, image2) themselves are symbols that point to
different partitions in the overall file system. A special image name “altimage”
exists which always points to the image that is not running.
The firmware upgrade system always downloads firmware to “altimage”.
7.1.6 Viewing files
To view a text or configuration file in the system, enter the cat command:
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 27 of 255