Skip to content

Commit 85a9dc0

Browse files
author
Daniel
committed
remove spinner_loading in .bash_profile
Signed-off-by: Daniel <[email protected]>
1 parent 7ed7627 commit 85a9dc0

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

nextcloud-startup-script.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ printf "%s\n""${Green}"
423423
echo "+--------------------------------------------------------------------+"
424424
echo "| Congratulations! You have successfully installed Nextcloud! |"
425425
echo "| |"
426-
printf "| ${Color_Off}Login to Nextcloud in your browser:${Cyan}\" $ADDRESS2\"${Green} |\n"
426+
printf "| ${Color_Off}Login to Nextcloud in your browser: ${Cyan}\"$ADDRESS2\"${Green} |\n"
427427
echo "| |"
428428
printf "| ${Color_Off}Publish your server online! ${Cyan}https://goo.gl/iUGE2U${Green} |\n"
429429
echo "| |"

static/change-ncadmin-profile.sh

+1-13
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@ debug_mode
1616
rm "/home/$UNIXUSER/.profile"
1717

1818
cat <<-UNIXUSER-PROFILE > "$UNIXUSER_PROFILE"
19-
# Add this here to be able to show spinner_loading while the scripts are loading
20-
spinner_loading_initial() {
21-
pid=$!
22-
spin='-\|/'
23-
i=0
24-
while kill -0 $pid 2>/dev/null
25-
do
26-
i=$(( (i+1) %4 ))
27-
printf "\r[${spin:$i:1}] Loading initial script..."
28-
sleep .1
29-
done
30-
}
3119
# ~/.profile: executed by the command interpreter for login shells.
3220
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
3321
# exists.
@@ -50,7 +38,7 @@ if [ -d "$HOME/bin" ]
5038
then
5139
PATH="$HOME/bin:$PATH"
5240
fi
53-
bash /var/scripts/instruction.sh & spinner_loading_initial
41+
bash /var/scripts/instruction.sh
5442
bash /var/scripts/history.sh
5543
sudo -i
5644

0 commit comments

Comments
 (0)