[FS#3501] uci option disabled value on unnamed section doesn't show
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Wed Dec 9 17:20:41 EST 2020
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Zbyněk Kocur (zokl)
Attached to Project - OpenWrt/LEDE Project
Summary - uci option disabled value on unnamed section doesn't show
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - If the disabled option in the unnamed section is used in the uci configuration file, it cannot be displayed using the uci get or uci show command.
Doesn't works:
root at F:~# cat /etc/config/gps
config gps
option disabled '1'
option extended '1'
option tty '/dev/ttyUSB1'
option adjust_time '0'
root at F-Tester-508D80:~# uci show gps
gps. at gps[0]=gps
gps. at gps[0].extended='1'
gps. at gps[0].tty='/dev/ttyUSB1'
gps. at gps[0].adjust_time='0
'
Works:
root at F:~# cat /etc/config/gps
config gps 'gps'
option disabled '1'
option extended '1'
option tty '/dev/ttyUSB1'
option adjust_time '0'
root at F-Tester-508D80:~# uci show gps
gps.gps=gps
gps.gps.disabled='1'
gps.gps.extended='1'
gps.gps.tty='/dev/ttyUSB1'
gps.gps.adjust_time='0'
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3501
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs
mailing list