Update hotspot

This commit is contained in:
v3d 2022-06-15 22:50:24 +00:00
parent bec1f14598
commit c9b006956d

View File

@ -8,7 +8,7 @@ then
sudo cp -rT /home/pi/pivilion/config/html /var/www/html/pivilion/gen
fi
echo "Configuring components..."
if sudo ! test -f /etc/hostapd/hostapd.conf;
if ! test -f /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