From bec1f14598ac4cbe05e16a36253547825ec11bdb Mon Sep 17 00:00:00 2001 From: v3d Date: Wed, 15 Jun 2022 19:27:51 +0000 Subject: [PATCH] Update hotspot --- usr/local/bin/hotspot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/bin/hotspot b/usr/local/bin/hotspot index 35719f8..f12f3d2 100755 --- a/usr/local/bin/hotspot +++ b/usr/local/bin/hotspot @@ -1,6 +1,6 @@ #!/bin/bash -echo "Checking for required packages and installing if missing" +echo "Checking for required packages and installing what's missing" if [ $(dpkg-query -W -f='${Status}' apache2 2>/dev/null | grep -c "ok installed") -eq 0 ]; then sudo apt update @@ -9,7 +9,7 @@ then fi echo "Configuring components..." if sudo ! test -f /etc/hostapd/hostapd.conf; - then sudo cp -f /home/pi/pivilion/config/hostapd.hotspot /etc/hostapd/hostapd.conf + then sudo cp -f /home/pi/pivilion/config/hostapd.hotspot /etc/hostapd/hostapd.conf fi sudo cp -f /home/pi/pivilion/config/dnsmasq.hotspot /etc/dnsmasq.conf sudo cp /home/pi/pivilion/config/html/.htaccess /var/www/html/pivilion/gen/.htaccess