aboutsummaryrefslogtreecommitdiff
path: root/net/nut/files/nut_server
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: Update server config comment 'docs'Daniel F. Dickinson2018-12-23
| | | | | | | Update the commented out settings in /etc/config/nut_server that shows the available sections with their default settings. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* nut: Reorganize nut-server to clarify nut-driverDaniel F. Dickinson2018-08-29
| | | | | | | | | | | | | | | | | | Clarify the different between the common nut-driver portions of nut-server and the nut-server (upsd) proper. nut-driver can't be used without nut-server so there is no compelling reason to split into a separate package, but the reorganization makes such a move easier and makes it clear what each bit is for. While we continue to use a single initscript, it's a properly procdified one which handles the upsd daemon as a different instance than the driver instances. This resolves a race condition in which upsd and drivers fail to start do to a degree of interdepedence. Also properly 'procd'ifies the nut-server initscript. 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>