alfred: name -> hostname
This commit is contained in:
parent
f756a71de9
commit
e38a0c9f11
|
@ -18,7 +18,7 @@ fi
|
|||
set -e
|
||||
|
||||
json_init
|
||||
json_add_string "name" "$(uci get 'system.@system[0].hostname')"
|
||||
json_add_string "hostname" "$(uci get 'system.@system[0].hostname')"
|
||||
|
||||
if [ "$(uci -q get 'system.@system[0].share_location')" = 1 ]; then
|
||||
json_add_object "location"
|
||||
|
|
Loading…
Reference in New Issue