alfred: name -> hostname

This commit is contained in:
Jan-Philipp Litza 2014-01-13 17:11:41 +01:00
parent f756a71de9
commit e38a0c9f11
1 changed files with 1 additions and 1 deletions

View File

@ -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"