Merge pull request #600 from roramirez/config_sample-installer

modified installer to use config.js.sample for init config.
This commit is contained in:
Michael Teeuw 2017-01-10 19:46:38 +01:00 committed by GitHub
commit 2b3b73b3f1
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [2.1.1] - Unreleased
### Changed
- Installer: Use init config.js from config.js.sample.
### Added
- Add loaded function to modules, providing an async callback.

View File

@ -113,6 +113,9 @@ else
exit;
fi
# Use sample config for start MagicMirror
cp config/config.js.sample config/config.js
# Check if plymouth is installed (default with PIXEL desktop environment), then install custom splashscreen.
echo -e "\e[96mCheck plymouth installation ...\e[0m"
if command_exists plymouth; then