mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
bbox: quoting the variables
This commit is contained in:
parent
93f4ff09a9
commit
af28042128
1 changed files with 7 additions and 7 deletions
|
@ -87,15 +87,15 @@ then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TMPFILE=$(mktemp -d)
|
TMPFILE="$(mktemp -d)"
|
||||||
trap 'rm -Rf $TMPFILE' EXIT
|
trap 'rm -Rf "$TMPFILE"' EXIT
|
||||||
|
|
||||||
cd $TMPFILE
|
cd "$TMPFILE"
|
||||||
|
|
||||||
curl -s http://$IP/api/v1/wan/ip > "ip.json" &
|
curl -s "http://$IP/api/v1/wan/ip" > "ip.json" &
|
||||||
curl -s http://$IP/api/v1/wan/ip/stats > "ip-stats.json" &
|
curl -s "http://$IP/api/v1/wan/ip/stats" > "ip-stats.json" &
|
||||||
curl -s http://$IP/api/v1/wan/xdsl > "xdsl.json" &
|
curl -s "http://$IP/api/v1/wan/xdsl" > "xdsl.json" &
|
||||||
curl -s http://$IP/api/v1/wan/xdsl/stats > "xdsl-stats.json" &
|
curl -s "http://$IP/api/v1/wan/xdsl/stats" > "xdsl-stats.json" &
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue