Lines Matching +full:otbr +full:- +full:agent

30 OTBR_TOP_BUILDDIR="${BUILD_DIR}/otbr"
33 OTBR_OPTIONS="${OTBR_OPTIONS-}"
36 REFERENCE_DEVICE="${REFERENCE_DEVICE:-0}"
42 sudo systemctl stop otbr-web || true
43 sudo systemctl stop otbr-agent || true
44 sudo systemctl disable otbr-web || true
45 sudo systemctl disable otbr-agent || true
46 ! sudo systemctl is-enabled otbr-web
47 ! sudo systemctl is-enabled otbr-agent
49 sudo killall otbr-web otbr-agent || true
58 sudo systemctl daemon-reload
67 read -r -a otbr_options <<<"${OTBR_OPTIONS}"
71 "-DBUILD_TESTING=OFF"
72 "-DCMAKE_INSTALL_PREFIX=/usr"
73 "-DOTBR_DBUS=ON"
74 "-DOTBR_DNSSD_DISCOVERY_PROXY=ON"
75 "-DOTBR_SRP_ADVERTISING_PROXY=ON"
76 "-DOTBR_INFRA_IF_NAME=${INFRA_IF_NAME}"
77 "-DOTBR_MDNS=${OTBR_MDNS:=mDNSResponder}"
78 # Force re-evaluation of version strings
79 "-DOTBR_VERSION="
80 "-DOT_PACKAGE_VERSION="
85 otbr_options+=("-DOTBR_WEB=ON")
90 "-DOTBR_BORDER_ROUTING=ON"
95 otbr_options+=("-DOTBR_REST=ON")
100 "-DOTBR_BACKBONE_ROUTER=ON"
104 "-DOTBR_DUA_ROUTING=ON"
111 "-DOTBR_NO_AUTO_ATTACH=1"
112 "-DOT_REFERENCE_DEVICE=ON"
113 "-DOT_DHCP6_CLIENT=ON"
114 "-DOT_DHCP6_SERVER=ON"
118 if with NAT64 && [[ ${NAT64_SERVICE-} == "openthread" ]]; then
120 "-DOTBR_NAT64=ON"
121 "-DOT_POSIX_NAT64_CIDR=${NAT64_DYNAMIC_POOL:-192.168.255.0/24}"
127 "-DOTBR_DNS_UPSTREAM_QUERY=ON"
133 "-DOT_FIREWALL=ON"
137 "-DOT_FIREWALL=OFF"
141 (./script/cmake-build "${otbr_options[@]}" \
148 sudo systemctl daemon-reload
149 without WEB_GUI || sudo systemctl enable otbr-web || true
150 sudo systemctl enable otbr-agent || true
151 sudo systemctl is-enabled otbr-agent || die 'Failed to enable otbr-agent!'
152 without WEB_GUI || sudo systemctl is-enabled otbr-web || die 'Failed to enable otbr-web!'
155 sudo systemctl enable testharness-discovery || true
156 sudo systemctl is-enabled testharness-discovery || die 'Failed to enable otbr-agent!'
159 echo >&2 ' *** WARNING: systemctl not found. otbr cannot start on boot.'