#!/bin/sh [ -n "$(uci_get configsync global domain)" ] && exit 0 uci set configsync.global.domain="$(uci_get_state delos baptization ConfigSyncDomain 0)" uci commit configsync exit 0