|
|
@@ -74,7 +74,7 @@ help() {
|
|
|
-i, --iptables Install iptables [yes|no] default: yes
|
|
|
-b, --fail2ban Install Fail2Ban [yes|no] default: yes
|
|
|
-q, --quota Filesystem Quota [yes|no] default: no
|
|
|
- -L, --resourcelimit Resource limitation [yes|no] default: no
|
|
|
+ -L, --resourcelimit Resource Limitation [yes|no] default: no
|
|
|
-W, --webterminal Web Terminal [yes|no] default: no
|
|
|
-d, --api Activate API [yes|no] default: yes
|
|
|
-r, --port Change Backend Port default: 8083
|
|
|
@@ -300,7 +300,7 @@ while getopts "a:w:v:j:k:m:M:g:d:x:z:Z:c:t:i:b:r:o:q:l:y:s:u:e:p:W:D:fh" Option;
|
|
|
i) iptables=$OPTARG ;; # Iptables
|
|
|
b) fail2ban=$OPTARG ;; # Fail2ban
|
|
|
q) quota=$OPTARG ;; # FS Quota
|
|
|
- L) resourcelimit=$OPTARG ;; # Resource Limitation
|
|
|
+ L) resourcelimit=$OPTARG ;; # Resource Limitaiton
|
|
|
W) webterminal=$OPTARG ;; # Web Terminal
|
|
|
r) port=$OPTARG ;; # Backend Port
|
|
|
l) lang=$OPTARG ;; # Language
|
|
|
@@ -2453,4 +2453,17 @@ cat $tmpfile
|
|
|
rm -f $tmpfile
|
|
|
|
|
|
# Add welcome message to notification panel
|
|
|
-$HESTIA/bin/v-add-user-notification "$username" 'Welcome to Hestia Control Panel!' '<p>You are now ready to begin adding <a href="/add/user/">user accounts</a> and <a href="/add/web/">domains</a>. For help and assistance, <a href="https://hestiacp.com/docs/" target="_blank">view the documentation</a> or <a href="https://forum.hestiacp.com/" target="_blank">visit our forum</a>.</p><p>Please <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">report any issues via GitHub</a>.</p><p class="u-text-bold">Have a wonderful day!</p><p><i class="fas fa-heart icon-
|
|
|
+$HESTIA/bin/v-add-user-notification "$username" 'Welcome to Hestia Control Panel!' '<p>You are now ready to begin adding <a href="/add/user/">user accounts</a> and <a href="/add/web/">domains</a>. For help and assistance, <a href="https://hestiacp.com/docs/" target="_blank">view the documentation</a> or <a href="https://forum.hestiacp.com/" target="_blank">visit our forum</a>.</p><p>Please <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">report any issues via GitHub</a>.</p><p class="u-text-bold">Have a wonderful day!</p><p><i class="fas fa-heart icon-red"></i> The Hestia Control Panel development team</p>'
|
|
|
+
|
|
|
+# Clean-up
|
|
|
+# Sort final configuration file
|
|
|
+sort_config_file
|
|
|
+
|
|
|
+if [ "$interactive" = 'yes' ]; then
|
|
|
+ echo "[ ! ] IMPORTANT: The system will now reboot to complete the installation process."
|
|
|
+ read -n 1 -s -r -p "Press any key to continue"
|
|
|
+ reboot
|
|
|
+else
|
|
|
+ echo "[ ! ] IMPORTANT: You must restart the system before continuing!"
|
|
|
+fi
|
|
|
+# EOF
|