mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix oled syntax errors
This commit is contained in:
parent
ad30f43a3f
commit
7b3188c7ce
1 changed files with 5 additions and 5 deletions
|
@ -4,11 +4,11 @@ routerid=$(uci -q get rtty.@rtty[0].id | cut -c-9)
|
|||
vpsip=$(curl https://55860.com/modules/addons/flowpacket/api.php?routeid=${routerid} | jsonfilter -e '@.data.dedicatedip')
|
||||
[ -n "$vpsip" ] && {
|
||||
vpsdata=$(curl https://55860.com/modules/addons/flowpacket/getWay.php?routeid=${vpsip})
|
||||
user=$(echo ${vpsdata} | jsonfilter -r '@.email')
|
||||
data=$(echo ${vpsdata} | jsonfilter -r '@.data')
|
||||
nextduedate=$(echo ${vpsdata} | jsonfilter -r '@.nextduedate')
|
||||
user=$(echo ${vpsdata} | jsonfilter -e '@.email')
|
||||
data=$(echo ${vpsdata} | jsonfilter -e '@.data')
|
||||
nextduedate=$(echo ${vpsdata} | jsonfilter -e '@.nextduedate')
|
||||
echo "user: ${user}"
|
||||
echo "residual flow: ${data}
|
||||
echo "router ID: ${routerid}
|
||||
echo "residual flow: ${data}"
|
||||
echo "router ID: ${routerid}"
|
||||
echo "next due date: ${nextduedate}"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue