more
This commit is contained in:
@@ -82,5 +82,8 @@ STATUS=$("${BIN_DIR}/umn" status)
|
||||
echo "${STATUS}"
|
||||
INTERFACE=$("${BIN_DIR}/umn" interface status)
|
||||
echo "${INTERFACE}"
|
||||
ADDRESS=$("${BIN_DIR}/umn" address)
|
||||
STORED_ADDRESS=$(tr -d '[:space:]' < "${STATE_DIR}/address")
|
||||
[[ "${ADDRESS}" == "${STORED_ADDRESS}" ]] || { echo "identity address health check failed: umn address does not match ${STATE_DIR}/address." >&2; exit 1; }
|
||||
[[ "${STATUS}" == *"DNS listening"* ]] || { echo "DNS health check failed (port 53535 may be busy)." >&2; exit 1; }
|
||||
[[ "${INTERFACE}" == *"helper: connected"* ]] || { echo "native interface health check failed." >&2; exit 1; }
|
||||
|
||||
@@ -26,4 +26,4 @@ sudo launchctl bootout system "${HELPER_PLIST}" >/dev/null 2>&1 || true
|
||||
if [[ -e "${RESOLVER_PATH}" ]] && cmp -s "${TEMP_RESOLVER}" "${RESOLVER_PATH}"; then sudo unlink "${RESOLVER_PATH}"; fi
|
||||
|
||||
echo "Binaries, LaunchAgent, LaunchDaemon, routes, interface, and managed resolver removed."
|
||||
echo "Identity and configuration were preserved in ~/Library/Application Support/UltraMesh."
|
||||
echo "All persistent state, including identity and address, was preserved in ~/Library/Application Support/UltraMesh."
|
||||
|
||||
Reference in New Issue
Block a user