36 lines
671 B
Bash
36 lines
671 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
|
|
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_webtty
|
|
install_cockpit
|
|
install_netdata
|
|
prepare_homepage
|
|
prepare_filebrowser
|
|
run_hardware_probe
|
|
print_summary "hub"
|