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>
54 lines
1.8 KiB
Text
54 lines
1.8 KiB
Text
#config upsmon 'upsmon'
|
|
# option runas run-as-user
|
|
# option minsupplies 1
|
|
# option shutdowncmd /sbin/halt
|
|
# option notifycmd /path/to/cmd
|
|
# list defaultnotify SYSLOG
|
|
# option pollfreq 5
|
|
# option pollfreqalert 5
|
|
# option hostsync 15
|
|
# option deadtime 15
|
|
# option powerdownflags /var/run/killpower
|
|
# option onlinemsg "online message"
|
|
# option onbattmsg "on battery message"
|
|
# option lowbattmsg "low battery message"
|
|
# option fsdmsg "forced shutdown message"
|
|
# option comokmsg "communications restored message"
|
|
# option combadmsg "communications bad message"
|
|
# option shutdowmsg "shutdown message"
|
|
# option replbattmsg "replace battery message"
|
|
# option nocommmsg "no communications message"
|
|
# option noparentmsg "no parent message"
|
|
# option onlinenotify "online notify flag 1|0"
|
|
# option onbattnotify "on battery notify flag 1|0"
|
|
# option lowbattnotify "low battery notify flag 1|0"
|
|
# option fsdnotify "forced shutdown notify flag 1|0"
|
|
# option comoknotify "communications restored notify flag 1|0"
|
|
# option combadnotify "communications bad notify flag 1|0"
|
|
# option shutdownotify "shutdown notify flag 1|0"
|
|
# option replbattnotify "replace battery notify flag 1|0"
|
|
# option nocommnotify "no communications notify flag 1|0"
|
|
# option noparentnotify "no parent notify flag 1|0"
|
|
# option rbwarntime 4200 # replace battery warn time
|
|
# option nocommwarntime 300 # no communications warn time
|
|
# option finaldelay 5 # final delay
|
|
# option certpath /path/to/ca/dir
|
|
# option certverify 0
|
|
# option forcessl 0
|
|
|
|
#config master
|
|
# option upsname upsname
|
|
# option hostname localhost
|
|
# option port # optional port number
|
|
# option powervalue 1
|
|
# option username upsuser
|
|
# option password upspassword
|
|
|
|
#config slave
|
|
# option upsname upsname
|
|
# option hostname localhost
|
|
# option port # optional port number
|
|
# option powervalue 1
|
|
# option username upsuser
|
|
# option password upspassword
|
|
|