Mailbox install message
This commit is contained in:
parent
a58766dc10
commit
af4c434ed1
|
@ -8420,7 +8420,12 @@ function import_email {
|
|||
if [[ $SYSTEM_TYPE == "$VARIANT_CHAT" || $SYSTEM_TYPE == "$VARIANT_MEDIA" || $SYSTEM_TYPE == "$VARIANT_NONMAILBOX" || $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
||||
return
|
||||
fi
|
||||
EMAIL_COMPLETE_MSG=' *** Freedombone mailbox installation is complete ***'
|
||||
EMAIL_COMPLETE_MSG=$'
|
||||
*** Freedombone mailbox installation is complete ***
|
||||
|
||||
Now on your internet router forward ports
|
||||
25, 587, 465, 993 and 2222 to the freedombone
|
||||
'
|
||||
if grep -Fxq "import_email" $COMPLETION_FILE; then
|
||||
if [[ $SYSTEM_TYPE == "$VARIANT_MAILBOX" ]]; then
|
||||
create_backup_script
|
||||
|
@ -8433,7 +8438,7 @@ function import_email {
|
|||
if [ -d $USB_MOUNT ]; then
|
||||
umount $USB_MOUNT
|
||||
rm -rf $USB_MOUNT
|
||||
echo ' You can now remove the USB drive'
|
||||
echo $' You can now remove the USB drive'
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
@ -273,10 +273,10 @@ EOF
|
|||
echo ' if [ "$?" = "0" ]; then' >> $rootdir/root/.bashrc
|
||||
echo " if [ -f ~/${PROJECT_NAME}-completed.txt ]; then" >> $rootdir/root/.bashrc
|
||||
# Remove the initial setup files
|
||||
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 " shred -zu ~/login.txt" >> $rootdir/root/.bashrc
|
||||
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
|
||||
echo ' shred -zu ~/login.txt' >> $rootdir/root/.bashrc
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue