forked from freifunk-franken/firmware
alfred-proxy: Make curl silent
As we now log output of cron scripts to syslog, the debug output of curl spams the rather short-lived syslog. As this debug output is unessesary most of the time, it now is disabled. Instead, curl's silent option is used, together with '-S', which reenables error output. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de> Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [bump PKG_RELEASE] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
5cd46fb17b
commit
9d000c96e0
|
@ -1,7 +1,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fff-alfred-monitoring-proxy
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-alfred-monitoring-proxy
|
||||
|
||||
|
|
|
@ -4,4 +4,4 @@ api_url="https://monitoring.freifunk-franken.de/api/alfred2"
|
|||
fetch_id="64"
|
||||
|
||||
/bin/alfred-json -r "$fetch_id" | \
|
||||
/usr/bin/curl -k -v -H "Content-type: application/json; charset=UTF-8" --data-binary @- "$api_url"
|
||||
/usr/bin/curl -k -sS -H "Content-type: application/json; charset=UTF-8" --data-binary @- "$api_url"
|
||||
|
|
Loading…
Reference in New Issue
Block a user