Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
e958203796650e3959a43708d67534bf36f4c83b
/
.
/
package
/
network
/
config
/
netifd
/
files
/
sbin
/
devstatus
blob: 3c35b26a4129fc6a558be2c362e5a0cd5d7f1308 [
file
] [
log
] [
blame
]
#!/bin/sh
.
/
usr
/
share
/
libubox
/
jshn
.
sh
DEVICE
=
"$1"
[
-
n
"$DEVICE"
]
||
{
echo
"Usage: $0 <device>"
exit
1
}
json_init
json_add_string name
"$DEVICE"
ubus call network
.
device status
"$(json_dump)"