[v2] fff-alfred-proxy: remove uci -q and execute bit for uci-defaults

Submitted by Adrian Schmutzler on April 25, 2020, 11:51 p.m.

Details

Message ID 20200425235133.6245-1-freifunk@adrianschmutzler.de
State Accepted
Headers show

Commit Message

Adrian Schmutzler April 25, 2020, 11:51 p.m.
Do not suppress errors from uci command without a reason.

Despite, remove executable bit for sourced file.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

---

Changes in v2:
- fix execute bit
---
 src/packages/fff/fff-alfred-monitoring-proxy/Makefile         | 2 +-
 .../files/etc/uci-defaults/52-alfred-master                   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
 mode change 100755 => 100644 src/packages/fff/fff-alfred-monitoring-proxy/files/etc/uci-defaults/52-alfred-master

Patch hide | download patch | download mbox

diff --git a/src/packages/fff/fff-alfred-monitoring-proxy/Makefile b/src/packages/fff/fff-alfred-monitoring-proxy/Makefile
index 5120947a..524fca5f 100644
--- a/src/packages/fff/fff-alfred-monitoring-proxy/Makefile
+++ b/src/packages/fff/fff-alfred-monitoring-proxy/Makefile
@@ -1,7 +1,7 @@ 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=fff-alfred-monitoring-proxy
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/fff-alfred-monitoring-proxy
 
diff --git a/src/packages/fff/fff-alfred-monitoring-proxy/files/etc/uci-defaults/52-alfred-master b/src/packages/fff/fff-alfred-monitoring-proxy/files/etc/uci-defaults/52-alfred-master
old mode 100755
new mode 100644
index 87ec1f8c..d754d652
--- a/src/packages/fff/fff-alfred-monitoring-proxy/files/etc/uci-defaults/52-alfred-master
+++ b/src/packages/fff/fff-alfred-monitoring-proxy/files/etc/uci-defaults/52-alfred-master
@@ -1,5 +1,5 @@ 
-uci -q set "alfred.alfred.mode=master"
+uci set "alfred.alfred.mode=master"
 
-uci -q commit alfred
+uci commit alfred
 
 exit 0

Comments

Fabian Blaese April 26, 2020, 10:52 a.m.
Reviewed-by: Fabian Bläse <fabian@blaese.de>
Adrian Schmutzler May 5, 2020, 11:46 a.m.
Applied.