[luci] developing a service for Luci

Christian Schoenebeck christian.schoenebeck at gmail.com
Thu Oct 2 13:12:11 CEST 2014


Am 02.10.2014 um 09:33 schrieb Omer Munchik:
> Hi,
> 
> I am new to this mailing list J
> 
> 
> I would like to develop a Command line "tech support" feature for Luci server.
> 
> The idea is that the user will run something like:
>   >  wget 192.168.1.1/tech_support.tar.gz   (192.168.1.1 is the IP of the OpenWRT machine)
> 
>  
> 
> this will initiate a script that will create "tech_support.tar.gz" to contain all sort of configuration files and download it.
> "tech_support.tar.gz" does not exist, I want it to be created when running wget.
> 
> How can something like this be implemented?
> 
> thanks!
> 
>  
> 
> Omer
> 
>  
> 
> 
> 
> ************************************************************************************
> This footnote confirms that this email message has been scanned by
> PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses(42).
> ************************************************************************************
> 
> 
> _______________________________________________
> luci mailing list
> luci at lists.subsignal.org
> https://lists.subsignal.org/mailman/listinfo/luci
> 
The functionality inside LuCI->System->Backup/Flash is not enough ?
You can configure what ever file or directory to be saved !

If you want to initiate from remote you need to write your own WEB application.
LuCI is the WEB interface based on lua language using a HTTP server to display to browser,
not a server/service like sshd or samba or ftp or WEB Server. 
You need to write a WEB application (possibly using lua language and parts of LuCI's libraries and objects).



More information about the luci mailing list