fff-timeserver: remove -q from uci and drop unused library source

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@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Adrian Schmutzler 2020-04-25 23:38:58 +02:00
parent 5e4339e954
commit d237fe5598
2 changed files with 3 additions and 5 deletions

View File

@ -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)

View File

@ -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