projects
/
openwrt-github
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
netifd: update to the latest version, contains several fixes, including one for inter...
[openwrt-github/.git]
/
package
/
network
/
config
/
netifd
/
files
/
sbin
/
devstatus
1
#!/bin/sh
2
. /usr/share/libubox/jshn.sh
3
DEVICE="$1"
4
5
[ -n "$DEVICE" ] || {
6
echo "Usage: $0 <device>"
7
exit 1
8
}
9
10
json_init
11
json_add_string name "$DEVICE"
12
ubus call network.device status "$(json_dump)"