aboutsummaryrefslogtreecommitdiff
path: root/net/nut/files/nut-cgi.init
Commit message (Collapse)AuthorAge
* nut: initscripts hotplug: Fix many small semantic issuesDaniel F. Dickinson2019-01-20
| | | | | | | | Small but important tweaks to fix the operation of the nut initscripts and hotplug scripts. All hail shellcheck and proofreading and dogfooding. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* nut: Fix nut-cgi config creation (startup)Daniel F. Dickinson2018-11-19
| | | | Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* nut: Use quotes around filenamesDaniel F. Dickinson2018-08-29
| | | | | | | Avoid potential issues with space or other strangeness by quoting filenames through the initscripts. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* nut: Use 'real' procd for nut-cgiDaniel F. Dickinson2018-08-29
| | | | | | | | Even though nut-cgi doesn't run a daemon, using procd triggers is helpful for updating the generated config file when the UCI config changes. So implement this and 'modernize' nut-cgi initscript Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* nut: nut-cgi: Add support for upssetDaniel F. Dickinson2018-08-29
| | | | | | | This allows config for setting variables and/or running commands from the CGI. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* net/nut: Build optional separate packages and ucifyDaniel Dickinson2017-01-11
With a LuCI app (of which I have one written) ucification makes sense (and is in fact needed), so ucify the initscripts. Also, rather than making selection of things to include an image a matter of selecting compile-time config options, make optional things into seperate packages that are built in default builds, and leave selection of what to include or not up to the user (e.g. using ImageBuilder, or adding packages via opkg). Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>