-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gui/install fixes and changes (#1192)
* gui/install.sh: fix permissions Files should be 644, not 775. * sudoers: add ifconfig - bug fix ifconfig needs to be in the file in order for the start/stop network buttons in the WebUI to work. * lighttpd.conf 2 fixes 1. Add the "thumbnails" directory to the list where buffering is turned off. Without this, new thumbnails didn't appear until ALL of them were created, and with video thumbnails that could be half a minute, and the user would think the page hung. 2. Remove the "compress" lines since we aren't doing compression. With the lines there, it produces two warnings in the log file. * install.sh: misc changes * Put { } around variables to be consistent. * Add quotes around some variables. * No longer any need to replace only the FIRST instance of XX_ALLSKY_HOME_XX in funciton.php, so removed that comment and code. * Merged the "sed -i" statements from 3 to 2, and added WEBSITE_DIR. * install.sh: update list of commands Since "ifconfig" is being added in the PR to "sudoers", check for it during installation. * variables.sh: change variable names To be consistent with all other variables pointing to directories, add ALLSKY_WEBUI and ALLSKY_WEBSITE. The old names will go away in a future release. * install.sh: replace placeholders in lighttpd.conf And add ALLSKY_WEBSITE which is needed by the WebUI. * lighttpd.conf: Use placeholders * Add a placeholder for "website" which is needed by the WebUI. * To be consistent with other installation scripts, use placeholders that will be replaced during installation.
- Loading branch information
1 parent
c8a8082
commit 02c7d61
Showing
4 changed files
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters