Projet

Général

Profil

Révision af280421

IDaf28042128e5cbb3f76e2d8a3f54df7c6df6b31a
Parent 93f4ff09
Enfant 59fcde25

Ajouté par Steve Schnepp il y a plus de 6 ans

bbox: quoting the variables

Voir les différences:

plugins/router/bbox
87 87
	exit 0
88 88
fi
89 89

  
90
TMPFILE=$(mktemp -d)
91
trap 'rm -Rf $TMPFILE' EXIT
90
TMPFILE="$(mktemp -d)"
91
trap 'rm -Rf "$TMPFILE"' EXIT
92 92

  
93
cd $TMPFILE
93
cd "$TMPFILE"
94 94

  
95
curl -s http://$IP/api/v1/wan/ip > "ip.json" &
96
curl -s http://$IP/api/v1/wan/ip/stats > "ip-stats.json" &
97
curl -s http://$IP/api/v1/wan/xdsl > "xdsl.json" &
98
curl -s http://$IP/api/v1/wan/xdsl/stats > "xdsl-stats.json" &
95
curl -s "http://$IP/api/v1/wan/ip" > "ip.json" &
96
curl -s "http://$IP/api/v1/wan/ip/stats" > "ip-stats.json" &
97
curl -s "http://$IP/api/v1/wan/xdsl" > "xdsl.json" &
98
curl -s "http://$IP/api/v1/wan/xdsl/stats" > "xdsl-stats.json" &
99 99

  
100 100
wait
101 101

  

Formats disponibles : Unified diff