From f9d0816b468dc04a563d695bc13628302d2529ea Mon Sep 17 00:00:00 2001 From: v3d Date: Wed, 4 May 2022 21:40:02 +0000 Subject: [PATCH] Update usr/local/bin/hotspot --- usr/local/bin/hotspot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/bin/hotspot b/usr/local/bin/hotspot index cf0bf6d..b60dad9 100755 --- a/usr/local/bin/hotspot +++ b/usr/local/bin/hotspot @@ -1,9 +1,9 @@ #!/bin/sh -e echo "Checking for required packages and installing if missing" -sudo apt update if [ $(dpkg-query -W -f='${Status}' apache2 2>/dev/null | grep -c "ok installed") -eq 0 ]; then + sudo apt update sudo apt -y install hostapd dnsmasq apache2 php fi echo "Configuring components..."