Files
gitlab-instance-0a899031_sh/d2ypp2/scripts/linux/install_hub.sh
root e638a4656c s
2026-05-18 06:48:30 +00:00

48 lines
948 B
Bash

#!/usr/bin/env bash
set -euo pipefail
SELF_DIR="$(cd "$(dirname "$0")" && pwd)"
INSTALL_TAG="hub"
. "$SELF_DIR/lib/common.sh"
ensure_root "$@"
load_env
# Keep the hub profile independent from the livestream business stack.
ENABLE_SRS=0
ensure_live_user
normalize_repo_root
ensure_runtime_dirs_owned_by_live
install_base_packages
install_media_packages
configure_adb_udev
install_nodejs
install_docker_stack
install_android_panel
prepare_python_runtime
prepare_web_console
install_live_console_service
configure_sudoers
configure_mdns
configure_wifi_profile
install_shellcrash
install_browser_stack
install_neko_browser
install_redroid
prepare_mitmproxy
prepare_vscode_server
prepare_uptime_kuma
prepare_openclaw
install_pulseaudio_service
install_kmscube_service
install_webtty
install_cockpit
install_netdata
prepare_homepage
prepare_filebrowser
run_hardware_probe
install_live_edge_proxy
ensure_runtime_dirs_owned_by_live
print_summary "hub"