[FS#3501] uci option disabled value on unnamed section doesn't show
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Wed Dec 9 17:34:16 EST 2020
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#3501 - uci option disabled value on unnamed section doesn't show
User who did this - Jo-Philipp Wich (jow-)
----------
Works for me:
root at jj:~# cat config gps
> option disabled '1'
> option extended '1'
> option tty '/dev/ttyUSB1'
> option adjust_time '0'
> EOT
root at jj:~# uci show gps
gps. at gps[0]=gps
gps. at gps[0].disabled='1'
gps. at gps[0].extended='1'
gps. at gps[0].tty='/dev/ttyUSB1'
gps. at gps[0].adjust_time='0'
root at jj:~#
Maybe you have a syntax error somewhere in your config, or uncommitted staged uci changes such as in the example below:
root at jj:~# uci del gps. at gps[0].disabled
root at jj:~# cat /etc/config/gps
config gps
option disabled '1'
option extended '1'
option tty '/dev/ttyUSB1'
option adjust_time '0'
root at jj:~# 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'
root at jj:~#
A `uci revert gps` should solve that then.
----------
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3501#comment9129
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