diff --git a/install.sh b/install.sh index b32e77f..bbbf4f7 100755 --- a/install.sh +++ b/install.sh @@ -38,7 +38,34 @@ fi echo "[1/7] Installing operating-system packages" export DEBIAN_FRONTEND=noninteractive apt-get update -apt-get install -y ca-certificates curl gnupg git rsync sudo util-linux avahi-daemon sqlite3 android-tools-adb build-essential network-manager wpasupplicant conntrack +apt-get install -y \ + android-tools-adb \ + avahi-daemon \ + build-essential \ + ca-certificates \ + conntrack \ + curl \ + dnsmasq-base \ + firmware-realtek \ + git \ + gnupg \ + iproute2 \ + network-manager \ + nftables \ + rsync \ + sqlite3 \ + sudo \ + util-linux \ + uuid-runtime \ + wireless-regdb \ + wpasupplicant + +for required_command in conntrack dnsmasq ip journalctl nmcli nft uuidgen wpa_passphrase; do + if ! command -v "${required_command}" >/dev/null 2>&1; then + echo "Required network command was not installed: ${required_command}" >&2 + exit 1 + fi +done node_major="" if command -v node >/dev/null 2>&1; then