Skip to content

Commit 146cfa3

Browse files
committed
Improve what is displayed during installation process
1 parent e848d4f commit 146cfa3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

scripts/linux-tweaks.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717

1818
#--- Common for all users ---#
1919
echo Setting up linux tweaks...
20-
echo -----------------------------------------------------------------------------
20+
# echo -----------------------------------------------------------------------------
2121

2222
mkdir -p /etc/skel/{.aws,.cache,.composer,.config/bash,.gnupg,.gsutil,.local/bin,.nano,.npm,.npm-global,.nvm,.selected-editor,.ssh,.well-known,.wp-cli} &> /dev/null
2323
mkdir -p /etc/skel/{backups/{full-backups,db-backups},git,log,scripts,sites,tmp} &> /dev/null
@@ -102,14 +102,14 @@ sed -i '0,/PubkeyAuthentication/I s/no/yes/' $sshd_config_file
102102
# else
103103
# echo 'Cool. Things seem fine.'
104104
# echo "Restarting SSH daemon..."
105-
printf '%-72s' "Restarting SSH daemon..."
105+
# printf '%-72s' "Restarting SSH daemon..."
106106
systemctl restart sshd &> /dev/null
107107
if [ $? -ne 0 ]; then
108108
echo 'Something went wrong while restarting SSH! See below...'; echo; echo;
109109
systemctl status sshd
110-
else
110+
# else
111111
# echo '... SSH daemon restarted!'
112-
echo done.
112+
# echo done.
113113
fi
114114
# fi
115115

@@ -172,5 +172,5 @@ file_watchers_limit_sysctl_file='/etc/sysctl.d/60-file-watchers-limit-local.conf
172172
printf "fs.inotify.max_user_watches = 524288\n" > $file_watchers_limit_sysctl_file &> /dev/null
173173
sysctl -p $file_watchers_limit_sysctl_file
174174

175-
echo -------------------------------------------------------------------------
175+
# echo -------------------------------------------------------------------------
176176
echo ... linux tweaks are done.

scripts/nginx-installation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ case "$codename" in
128128
;;
129129
esac
130130

131-
echo ... done setting up Nginx!
131+
echo ... done installing up Nginx!

0 commit comments

Comments
 (0)