Jump to content

UCI command usage: Difference between revisions

No edit summary
Line 10: Line 10:


{| class="wikitable"
{| class="wikitable"
|+ UCI commands
|+ style="text-align: left;" | UCI commands
! style="width: 100px; background: black; color: white;"  | Command
! style="width: 100px; background: black; color: white;"  | Command
! style="width: 200px; background: black; color: white;"  | Target
! style="width: 340px; background: black; color: white;"  | Target
! style="width: 1200px; background: black; color: white;" | Description
! style="width: 1200px; background: black; color: white;" | Description
|-
|-
Line 76: Line 76:
|-
|-
|}
|}
 
Options:
 
-c <path>  set the search path for config files (default: /etc/config)
'''Options'''
-d <str>  set the delimiter for list values in uci show
-c <path>  set the search path for config files (default: /etc/config)
-f <file>  use <file> as input instead of stdin
-d <str>  set the delimiter for list values in uci show
-m         when importing, merge data into an existing package
-f <file>  use <file> as input instead of stdin
-n         name unnamed sections on export (default)
-m         when importing, merge data into an existing package
-N         don't name unnamed sections
-n         name unnamed sections on export (default)
-p <path>  add a search path for config change files
-N         don't name unnamed sections
-P <path>  add a search path for config change files and use as default
-p <path>  add a search path for config change files
-q         quiet mode (don't print error messages)
-P <path>  add a search path for config change files and use as default
-s         force strict mode (stop on parser errors, default)
-q         quiet mode (don't print error messages)
-S         disable strict mode
-s         force strict mode (stop on parser errors, default)
-X         do not use extended syntax on 'show'
-S         disable strict mode
-X         do not use extended syntax on 'show'


==Obtaining parameters==
==Obtaining parameters==