From 4bbbfd956cad1742c7007b7c52e9b2a8f14a0569 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 30 Aug 2017 17:00:34 +0530 Subject: [PATCH] Don't run Plinth setup as part of freedombox/setup Instead run all of the setup process during the first boot. This enables us to someday remove the reboot step entirely. Tests: After building a new image with the changes, call the modules have shown to be properly setup. Running the setup wizard, creating admin user and logging works as expected. Signed-off-by: Sunil Mohan Adapa --- data/usr/lib/freedombox/setup.d/86_plinth | 7 ------- 1 file changed, 7 deletions(-) diff --git a/data/usr/lib/freedombox/setup.d/86_plinth b/data/usr/lib/freedombox/setup.d/86_plinth index 886a059c5..3d88355fa 100755 --- a/data/usr/lib/freedombox/setup.d/86_plinth +++ b/data/usr/lib/freedombox/setup.d/86_plinth @@ -34,12 +34,5 @@ a2ensite plinth-ssl.conf echo "Done configuring Apache for Plinth." -echo "Running Plinth setup..." - -# Run plinth setup to configure various necessary program -plinth --setup-no-install - # Ensure that DB and log file permissions are correct chown -R plinth: /var/lib/plinth /var/log/plinth - -echo "Done running Plinth setup."