Message after install

This commit is contained in:
Bob Mottram 2015-12-02 15:57:32 +00:00
parent 9b126e90f0
commit 1a98910b82
2 changed files with 6 additions and 2 deletions

View File

@ -11946,7 +11946,9 @@ function install_final {
echo "See /home/$MY_USERNAME/README for post-installation instructions." echo "See /home/$MY_USERNAME/README for post-installation instructions."
echo '' echo ''
fi fi
reboot if [ ! -f $IMAGE_PASSWORD_FILE ]; then
reboot
fi
} }

View File

@ -275,7 +275,9 @@ EOF
echo " rm /root/.initial_setup" >> $rootdir/root/.bashrc echo " rm /root/.initial_setup" >> $rootdir/root/.bashrc
echo " rm /home/${MY_USERNAME}/.initial_setup" >> $rootdir/root/.bashrc echo " rm /home/${MY_USERNAME}/.initial_setup" >> $rootdir/root/.bashrc
echo " shred -zu ~/login.txt" >> $rootdir/root/.bashrc echo " shred -zu ~/login.txt" >> $rootdir/root/.bashrc
cat >> $rootdir/root/.bashrc <<EOF 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
cat >> $rootdir/root/.bashrc <<EOF
reboot
fi fi
fi fi
exit exit