git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
58e33b0
)
nut: Fix extraneous config_get
author
Daniel F. Dickinson
<redacted>
Wed, 10 Oct 2018 02:12:55 +0000
(22:12 -0400)
committer
Daniel F. Dickinson
<redacted>
Mon, 19 Nov 2018 21:41:32 +0000
(16:41 -0500)
nut-server initscript had a duplicate config_get statepath, so remove it
Signed-off-by: Daniel F. Dickinson <redacted>
net/nut/files/nut-server.init
patch
|
blob
|
history
diff --git
a/net/nut/files/nut-server.init
b/net/nut/files/nut-server.init
index 4f1219a1b593914ac33cbaff452ea3139cc85b2a..437108e49ddda39431cc4055ba02c10463e7beae 100755
(executable)
--- a/
net/nut/files/nut-server.init
+++ b/
net/nut/files/nut-server.init
@@
-61,7
+61,6
@@
upsd_config() {
config_get maxage "$cfg" maxage
[ -n "$maxage" ] && echo "MAXAGE $maxage" >>"$UPSD_C"
- config_get statepath "$cfg" statepath
[ -n "$statepath" ] && echo "STATEPATH $statepath" >>"$UPSD_C"
config_get maxconn "$cfg" maxconn
git clone https://git.99rst.org/PROJECT