On Mon, Mar 19, 2012 at 6:19 AM, Conor O'Gorman <i...@conorogorman.net> wrote: > If you are willing to adjust the script, can I suggest you convert it to > lua. It's not a very large script and you can then use the > nixio.bin.b64encode() function. Also you can tidy up the uci access > using the lua uci library.
I think it's better if this script remains a shell script, as it calls a bunch of other programs installed on the system to get the job done - it is not really a standalone program. As far as lua is concerned, I could, instead of using uuencode, perhaps write a separate lua script which will do just the base64 encoding for me using the nixio library. > http://luci.subsignal.org/api/nixio/modules/nixio.bin.html > > I thought that the uuencode option on busybox was not exposed, but it is > a config variable. There should be some suitable syntax you can use in > your package makefile to enable it? I am only familiar with the > dependency option, but that is for a whole package. Yes, I also figured the dependency option is for a whole package. Is there a general opposition to enabling either base64 or uuencode in busybox? Won't it be of use to anybody else? I thought I saw somebody on the forum talking about compiling uuencode as a separate package because he needed it. Cheers, Iordan _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel