Skip to content

Commit

Permalink
raspap working.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffeb3 committed Dec 1, 2019
1 parent cb8fe62 commit e274cfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export DIST_NAME=V1Pi
export DIST_VERSION=0.16.0
export BASE_IMAGE_ENLARGEROOT=800
export MODULES="base(raspicam, network, nodejs, raspap, disable-services(octopi, cncjs), password-for-sudo)"
export MODULES="base(raspicam, network, nodejs, disable-services(octopi, cncjs), raspap, password-for-sudo)"
2 changes: 1 addition & 1 deletion src/modules/raspap/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ mv /var/www/html/config/dhcpcd.conf /etc/dhcpcd.conf
mv /var/www/html/config/config.php /var/www/html/includes/

sed -i 's@\(server.port\s*=\s*\)80@\18080@' /etc/lighttpd/lighttpd.conf
sed -i 's@raspi-webgui@$RASPAP_HOTSPOT_NAME@' /etc/hostapd/hostapd.conf
sed -i "s@raspi-webgui@$RASPAP_HOTSPOT_NAME@" /etc/hostapd/hostapd.conf

echo "--- RaspAP PHP Optimization"
sed -i -E 's/^session\.cookie_httponly\s*=\s*(0|([O|o]ff)|([F|f]alse)|([N|n]o))\s*$/session.cookie_httponly = 1/' /etc/php/7.1/cgi/php.ini
Expand Down

0 comments on commit e274cfe

Please sign in to comment.