diff --git a/usr/local/bin/hotspot b/usr/local/bin/hotspot index 6c9c0d9..0fa5ba4 100755 --- a/usr/local/bin/hotspot +++ b/usr/local/bin/hotspot @@ -11,7 +11,7 @@ sudo cp -f /home/pi/pivilion/config/hostapd.hotspot /etc/hostapd/hostapd.conf sudo cp -f /home/pi/pivilion/config/dnsmasq.hotspot /etc/dnsmasq.conf sudo cp -rf /home/pi/pivilion/config/html /var/www/html/gen sudo chown -R www-data:www-data /var/www/html -sudo chown root:www-data /var/www/htmlgen//.htaccess +sudo chown root:www-data /var/www/html/gen/.htaccess sudo cp -f /home/pi/pivilion/config/rc.hotspot /etc/rc.local sudo cp -f /home/pi/pivilion/config/override.hotspot /etc/apache2/conf-available/override.conf sudo a2enconf override