Created
October 26, 2016 13:20
-
-
Save nemesifier/f23e8d1897ccc122d74f5b5a46164a09 to your computer and use it in GitHub Desktop.
OpenWRT Luci notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- print table structure | |
require('luci.util') | |
require('luci.jsonc') | |
t = {'test'} | |
print(luci.util.dumptable(t)) | |
print(luci.jsonc.stringify(t)) | |
-- disable luci caching to make it easy to do live editing on a test router | |
-- uci set luci.ccache.enable=0; | |
-- uci commit luci | |
-- reboot; exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment