diff --git a/webadmin/installapp.php b/webadmin/installapp.php index 227d659cd76c20a5fd52211d2e323dd9d9892a9f..45f372cd43cd14ea6810db7a2741b63d56973008 100755 --- a/webadmin/installapp.php +++ b/webadmin/installapp.php @@ -1,5 +1,10 @@ <?php +// This is used to begin installing an app. +// +// It creates the confirm screen, populates the variables +// in it and then opens it. + $output_filename = "apps_add.html"; if (isset($_POST['install'])) { diff --git a/webadmin/installappconfirm.php b/webadmin/installappconfirm.php index 0470406ca60a8f900cfde854fc498c767bcda98a..8dbcfb7c3b09a2a0e0737856f95ec4c6ccb04d2b 100755 --- a/webadmin/installappconfirm.php +++ b/webadmin/installappconfirm.php @@ -1,5 +1,12 @@ <?php +// This receives the yes/no confirmation when installing +// an app and then begins the install +// +// Apps are installed by adding them to the pending_installs.txt +// file and the webadmin daemon (freedombone-installer) then +// does the actual installation in the background + $output_filename = "apps_add.html"; if (isset($_POST['installconfirmsubmit'])) { diff --git a/webadmin/setup.php b/webadmin/setup.php index 74e2f0785d83bdac0a6bb683fb59040be2be1cb1..c8a37c28edf9f572b11c0a671f0c0aee8352454d 100755 --- a/webadmin/setup.php +++ b/webadmin/setup.php @@ -1,5 +1,10 @@ <?php +// From the initial setup screen when the box is first booted +// this stores the preferred username within a temporary +// version of setup.txt, which will later be used by the webadmin +// daemon (freedombone-installer) + $output_filename = "index.html"; if (isset($_POST['setup'])) { diff --git a/webadmin/setupconfirm.php b/webadmin/setupconfirm.php index c48cfd516c949d44a679244dab89f19ecb409931..c453e18450deccb35dc6e67bb4edafcb4031a6c6 100755 --- a/webadmin/setupconfirm.php +++ b/webadmin/setupconfirm.php @@ -1,5 +1,9 @@ <?php +// This receives the yes/no confirmation on initial setup +// of the system and creates the setup.txt file which is +// then detected by the webadmin daemon (freedombone-installer) + $output_filename = "index.html"; if (isset($_POST['setupconfirmsubmit'])) { diff --git a/webadmin/setupdomain.php b/webadmin/setupdomain.php index 046ef486380ee57b42a7591d20b718068d3bbab7..d51b32cfed52478d961d310da05e297f39857877 100755 --- a/webadmin/setupdomain.php +++ b/webadmin/setupdomain.php @@ -1,5 +1,9 @@ <?php +// For clearnet setup this receives the preferred domain name +// and then begins the install by creating the setup.txt file +// which is detected by the webadmin daemon (freedombone-installer) + $output_filename = "index.html"; if (isset($_POST['setupdomain'])) {