[OpenWrt-Devel] LuCI FileUpload in network section

Jakub Jančo kubco2 at gmail.com
Fri Jan 22 06:53:57 EST 2016


I'm trying to upload file in interface configuration, but it always
save file as value in config file. Is there something like switch to
upload original file?

I added this option to
op_tls_auth = section:taboption( "security", FileUpload, "tls_auth",
"Key file" )

And after Save or Save and apply

config interface 'test'
    option proto 'newproto'
    option tls_auth 'line1 filecontent
line2 filecontent

Thanks for help.

S pozdravom Jakub Janco
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list