... the easy way ... the better way is ... a parameter to get domain status... like gluon-switch-domain status --> uci get gluon.core.domain ...but... until then... this is helpful...