mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
net/nut: Build optional separate packages and ucify
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>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#config driver 'upsname'
|
||||
# option driver usbhid-ups
|
||||
# option port auto
|
||||
# option other other-value
|
||||
# option runas root
|
||||
|
||||
#config user
|
||||
# option username upsuser
|
||||
# option password upspassword
|
||||
# option actions optional-action
|
||||
# list instcmd optional-instant-command
|
||||
# option upsmon slave|master
|
||||
|
||||
#config listen_address
|
||||
# option address ::1
|
||||
# option port 3493
|
||||
|
||||
#config upsd 'upsd'
|
||||
# option maxage 15
|
||||
# option statepath /var/run/nut
|
||||
# option maxconn 1024
|
||||
# NB: certificates only apply to SSL-enabled version
|
||||
# option certfile /usr/local/etc/upsd.pem
|
||||
Reference in New Issue
Block a user