From patchwork Sat Apr 25 21:38:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: fff-timeserver: remove -q from uci and drop unused library source From: Adrian Schmutzler X-Patchwork-Id: 1374 Message-Id: <20200425213858.5538-1-freifunk@adrianschmutzler.de> To: franken-dev@freifunk.net Date: Sat, 25 Apr 2020 23:38:58 +0200 Do not suppress errors from uci command without a reason. While at it, remove unused sourcing of library. This is a left-over from the transition to KeyXchangeV2. Signed-off-by: Adrian Schmutzler Reviewed-by: Fabian Bläse --- src/packages/fff/fff-timeserver/Makefile | 2 +- .../fff-timeserver/files/etc/uci-defaults/51-fff-timeserver | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/packages/fff/fff-timeserver/Makefile b/src/packages/fff/fff-timeserver/Makefile index 94ae86ce..385befb8 100644 --- a/src/packages/fff/fff-timeserver/Makefile +++ b/src/packages/fff/fff-timeserver/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fff-timeserver -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/src/packages/fff/fff-timeserver/files/etc/uci-defaults/51-fff-timeserver b/src/packages/fff/fff-timeserver/files/etc/uci-defaults/51-fff-timeserver index 88645586..68e38107 100644 --- a/src/packages/fff/fff-timeserver/files/etc/uci-defaults/51-fff-timeserver +++ b/src/packages/fff/fff-timeserver/files/etc/uci-defaults/51-fff-timeserver @@ -1,9 +1,7 @@ -. /lib/functions/fff/timeserver - # No initialization here, this is done in configurehood -uci -q set "system.@system[0].timezone=CET-1CEST,M3.5.0,M10.5.0/3" +uci set "system.@system[0].timezone=CET-1CEST,M3.5.0,M10.5.0/3" -uci -q commit system +uci commit system exit 0