Thus, when starting a daemon with such a UCI-compatible initialization script, you should be aware that the program's original configuration file gets overwritten.įor example, in the case of Samba/CIFS, the file /etc/samba/smb.conf is overwritten with UCI settings from the UCI configuration file /etc/config/samba when running /etc/init.d/samba start. This is done upon running the initialization scripts in /etc/init.d/. Many packages in the OpenWrt repository have been made compatible with the UCI system.Īpplications are made UCI-compatible by simply writing the original configuration file (which is read by the program) according to the chosen settings in the corresponding UCI file. It is the main configuration user interface for the most important system settings including the main network interface configuration, wireless settings, logging functionality and remote access configuration.
UCI is the successor to the NVRAM-based configuration found in the White Russian series of OpenWrt. The abbreviation UCI stands for Unified Configuration Interface, and is a system to centralize the configuration of OpenWrt services. See also: UCI defaults, Network scripting