Browse Source

Change reboot message and reboot system after install

Jaap Marcus 4 years ago
parent
commit
f8dd9d992d
1 changed files with 3 additions and 4 deletions
  1. 3 4
      install/hst-install-ubuntu.sh

+ 3 - 4
install/hst-install-ubuntu.sh

@@ -1944,17 +1944,16 @@ echo "@reboot root sleep 10 && /usr/local/hestia/bin/v-add-letsencrypt-host && r
 # Add welcome message to notification panel
 # Add welcome message to notification panel
 $HESTIA/bin/v-add-user-notification admin 'Welcome to Hestia Control Panel!' '<br>You are now ready to begin <a href="/add/user/">adding user accounts</a> and <a href="/add/web/">domains</a>. For help and assistance, view the <a href="https://docs.hestiacp.com/" target="_new">documentation</a> or visit our <a href="https://forum.hestiacp.com/" target="_new">user forum</a>.<br><br>Please report any bugs or issues via <a href="https://github.com/hestiacp/hestiacp/issues" target="_new"><i class="fab fa-github"></i> GitHub</a>.<br><br><b>Have a wonderful day!</b><br><br><i class="fas fa-heart status-icon red"></i> The Hestia Control Panel development team'
 $HESTIA/bin/v-add-user-notification admin 'Welcome to Hestia Control Panel!' '<br>You are now ready to begin <a href="/add/user/">adding user accounts</a> and <a href="/add/web/">domains</a>. For help and assistance, view the <a href="https://docs.hestiacp.com/" target="_new">documentation</a> or visit our <a href="https://forum.hestiacp.com/" target="_new">user forum</a>.<br><br>Please report any bugs or issues via <a href="https://github.com/hestiacp/hestiacp/issues" target="_new"><i class="fab fa-github"></i> GitHub</a>.<br><br><b>Have a wonderful day!</b><br><br><i class="fas fa-heart status-icon red"></i> The Hestia Control Panel development team'
 
 
-echo "[ ! ] IMPORTANT: You must logout or restart the server before continuing."
+echo "[ ! ] IMPORTANT: System will reboot"
 echo ""
 echo ""
 if [ "$interactive" = 'yes' ]; then
 if [ "$interactive" = 'yes' ]; then
-    echo -n " Do you want to reboot now? [Y/N] "
+    echo -n " Press any key to continue!"
     read reboot
     read reboot
-    
-    reboot
 fi
 fi
 
 
 # Clean-up
 # Clean-up
 # Sort final configuration file
 # Sort final configuration file
 sort_config_file
 sort_config_file
 
 
+reboot
 # EOF
 # EOF