support of multiple domain in init script

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>