[PATCH] fff-timeserver: remove -q from uci and drop unused library source
Adrian Schmutzler
freifunk at adrianschmutzler.de
Sa Apr 25 23:38:58 CEST 2020
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 <freifunk at adrianschmutzler.de>
---
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. at system[0].timezone=CET-1CEST,M3.5.0,M10.5.0/3"
+uci set "system. at system[0].timezone=CET-1CEST,M3.5.0,M10.5.0/3"
-uci -q commit system
+uci commit system
exit 0
--
2.20.1
Mehr Informationen über die Mailingliste franken-dev