mirror of
https://github.com/openwrt/packages.git
synced 2025-12-28 07:50:04 +04:00
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>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user