modified installer to use config.js.sample for init config.

This commit is contained in:
Rodrigo Ramírez Norambuena 2017-01-01 19:51:50 -03:00
parent 8ac8b666bf
commit 396bbd83c8
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 ## [2.1.1] - Unreleased
### Changed
- Installer: Use init config.js from config.js.sample.
### Added ### Added
- Add loaded function to modules, providing an async callback. - Add loaded function to modules, providing an async callback.

View File

@ -113,6 +113,9 @@ else
exit; exit;
fi 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. # Check if plymouth is installed (default with PIXEL desktop environment), then install custom splashscreen.
echo -e "\e[96mCheck plymouth installation ...\e[0m" echo -e "\e[96mCheck plymouth installation ...\e[0m"
if command_exists plymouth; then if command_exists plymouth; then