#!/bin/bash set -e echo "=== 3CX SBC installatie - Raspberry Pi 5 ===" if [ "$EUID" -ne 0 ]; then echo "Start dit script met sudo:" echo "sudo ./install-3cx-sbc-pi5.sh" exit 1 fi echo "Systeem updaten..." apt update apt full-upgrade -y echo "Benodigdheden installeren..." apt install -y wget curl ca-certificates echo "Tijdzone instellen..." timedatectl set-timezone Europe/Amsterdam echo echo "Je hebt straks nodig uit 3CX:" echo "- Provisioning URL" echo "- Authentication KEY ID" echo read -p "Druk op Enter om de officiƫle 3CX SBC installer te starten..." bash -c "$(wget -qO- http://downloads-global.3cx.com/downloads/sbc/3cxsbc.zip)" echo echo "Klaar. Controleer de status met:" echo "systemctl status 3cxsbc"