Install complete hotspot network stack
This commit is contained in:
+28
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user