[OpenWrt-Devel] uci delete doesn't match documentation
Karl Palsson
karlp at tweak.net.au
Thu Nov 5 09:44:08 EST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm trying to work out _a_ way of ensuring that a UCI config file
has a given section type with a given name.
While trying to test out the various methods, I've been deleting
files from /etc/config, but I was just trying "uci delete config"
which is documented as being valid.
delete <config>[.<section>[[.<option>][=<id>]]]
However, providing just a <config> argument to delete is refused.
karlp at cuth:~/src/uci/lua $ uci show remake
remake. at plugins[0]=plugins
karlp at cuth:~/src/uci/lua $ uci delete remake
uci: Invalid argument
karlp at cuth:~/src/uci/lua $
This is either a bug in the documentation or the utility.
(Preferably the utility, it seems like a reasonable feature to
exist)
Sincerely,
Karl P
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBAgAGBQJWO2s4AAoJEBmotQ/U1cr2iXIP/3kvddWYqa1G2kqnvQigh7uX
eaVziehuNFh5BugIPDeWsXdpUvnkAcw/FwwCp6BKhEp13icVHJbuUtPHjgxkPqmb
NLUpAgGiWPOZIeTlhTQnzHJaEB1fyY1CNpksXbMjP8JIWsU2a8mVSJpr5DeIkFhy
vAK33XoY64+U3+IfaZHBc5O4+OKdaSDHxH3/9zl5HpNnDiJub1KHMJUeJmo5iYb5
1gKW0b5t4CefxsFFSL7Lh951PGweIML1LZC0EMeamc77bvUJNxEIHuhn/QLY1U3p
bpzUbjhxY4t+sCY3ITMRHB/xDvfJatfZ+xVXZanJyqeO6nB2iI8fQYeZXGxIokGV
KvXG8X1ALetyLnha6Wh2YG+VrvEmZOcwAlEm2WHNwZrxBREamON5zzJbfc6iaOf0
s43HpntdcrrKzyjK6j3YAhNrvKNrdiRNR0JPyikPpTrWaWilgP0QwBZS/oUhvimB
XnIEkJoIOE3fUo+KqFVaPdao9c+mfJYm1ObCZ5Q/3USn3sURMKz8d16yAi6ibKaB
gr1pus82A/cqPw6KTyOe+EZiJNsA98b4Re0nuR8bYQj9s7QQcomphvAvtI7qX09Z
Dl/eRSYjKURVkl8KqgCliuJVidXzfkInaaKEZQXCHS6yQ1KnukPovbGODNfGAQjP
M9I4rOAW0kWPIdiyh5Ef
=eaa1
-----END PGP SIGNATURE-----
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list