Browse Source

nut: Fix extraneous config_get

nut-server initscript had a duplicate config_get statepath, so remove it

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
lilik-openwrt-22.03
Daniel F. Dickinson 6 years ago
parent
commit
36fd59dc78
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      net/nut/files/nut-server.init

+ 0
- 1
net/nut/files/nut-server.init View File

@ -61,7 +61,6 @@ upsd_config() {
config_get maxage "$cfg" maxage config_get maxage "$cfg" maxage
[ -n "$maxage" ] && echo "MAXAGE $maxage" >>"$UPSD_C" [ -n "$maxage" ] && echo "MAXAGE $maxage" >>"$UPSD_C"
config_get statepath "$cfg" statepath
[ -n "$statepath" ] && echo "STATEPATH $statepath" >>"$UPSD_C" [ -n "$statepath" ] && echo "STATEPATH $statepath" >>"$UPSD_C"
config_get maxconn "$cfg" maxconn config_get maxconn "$cfg" maxconn


Loading…
Cancel
Save