Browse Source

Message after install

Bob Mottram 9 years ago
parent
commit
1a98910b82
2 changed files with 6 additions and 2 deletions
  1. 3
    1
      src/freedombone
  2. 3
    1
      src/freedombone-image-customise

+ 3
- 1
src/freedombone View File

11946
       echo "See /home/$MY_USERNAME/README for post-installation instructions."
11946
       echo "See /home/$MY_USERNAME/README for post-installation instructions."
11947
       echo ''
11947
       echo ''
11948
   fi
11948
   fi
11949
-  reboot
11949
+  if [ ! -f $IMAGE_PASSWORD_FILE ]; then
11950
+	  reboot
11951
+  fi
11950
 }
11952
 }
11951
 
11953
 
11952
 
11954
 

+ 3
- 1
src/freedombone-image-customise View File

275
     echo "            rm /root/.initial_setup" >> $rootdir/root/.bashrc
275
     echo "            rm /root/.initial_setup" >> $rootdir/root/.bashrc
276
     echo "            rm /home/${MY_USERNAME}/.initial_setup" >> $rootdir/root/.bashrc
276
     echo "            rm /home/${MY_USERNAME}/.initial_setup" >> $rootdir/root/.bashrc
277
     echo "            shred -zu ~/login.txt" >> $rootdir/root/.bashrc
277
     echo "            shred -zu ~/login.txt" >> $rootdir/root/.bashrc
278
-    cat >> $rootdir/root/.bashrc <<EOF
278
+    echo "            dialog --title 'Congratulations!' --msgbox '\nYour Freedombone system has now installed\n\nPress any key to reboot and begin using it' 9 50" >> $rootdir/root/.bashrc
279
+	cat >> $rootdir/root/.bashrc <<EOF
280
+            reboot
279
         fi
281
         fi
280
     fi
282
     fi
281
     exit
283
     exit