diff --git a/src/freedombone-installer b/src/freedombone-installer
index 078c471e9144953406fea8cfa61c3d1a1e833e36..09daec40e222842deefc5469a25fddb4fdc4fe3c 100755
--- a/src/freedombone-installer
+++ b/src/freedombone-installer
@@ -38,7 +38,7 @@ COMPLETION_FILE="/root/${PROJECT_NAME}-completed.txt"
 local_hostname=$(grep 'host-name' /etc/avahi/avahi-daemon.conf | awk -F '=' '{print $2}').local
 
 webadmin_install_dir="/var/www/${local_hostname}/htdocs/admin"
-setup_file="$webadmin_install_dir/setup.txt"
+setup_file="$webadmin_install_dir/.temp_setup.txt"
 domain_file="$webadmin_install_dir/.temp_domain.txt"
 pending_removes="$webadmin_install_dir/pending_removes.txt"
 pending_installs="$webadmin_install_dir/pending_installs.txt"
@@ -254,7 +254,7 @@ function before_setup_runs {
 
     cp "/usr/share/${PROJECT_NAME}/webadmin/${curr_language}/setup_installing.html" "$webadmin_install_dir/index.html"
 
-    # get the username and domain from the setup.txt file
+    # get the username and domain from the .temp_setup.txt file
     # created by setup.php
     MY_USERNAME=$(cat "$setup_file")
     if [ ! "$MY_USERNAME" ]; then