alfred: name -> hostname

This commit is contained in:
Jan-Philipp Litza 2014-01-13 17:11:41 +01:00
parent 59616e8d77
commit a3f2eb6bc7

View File

@ -18,7 +18,7 @@ fi
set -e set -e
json_init 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 if [ "$(uci -q get 'system.@system[0].share_location')" = 1 ]; then
json_add_object "location" json_add_object "location"