Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <daniel@techandme.se>2017-04-10 20:43:44 +0300
committerDaniel <daniel@techandme.se>2017-04-10 20:43:44 +0300
commit85a9dc09044f87e400320d38638757402fbdb76b (patch)
tree60e7efc2d0b27813f30a734339899d80b6da7a4b /static/change-ncadmin-profile.sh
parent7ed76279d70635cd72673ac2caf41693ce963f47 (diff)
remove spinner_loading in .bash_profile11.0.2-v3
Signed-off-by: Daniel <daniel@techandme.se>
Diffstat (limited to 'static/change-ncadmin-profile.sh')
-rw-r--r--static/change-ncadmin-profile.sh14
1 files changed, 1 insertions, 13 deletions
diff --git a/static/change-ncadmin-profile.sh b/static/change-ncadmin-profile.sh
index 696fb11c..f88a7a0b 100644
--- a/static/change-ncadmin-profile.sh
+++ b/static/change-ncadmin-profile.sh
@@ -16,18 +16,6 @@ debug_mode
rm "/home/$UNIXUSER/.profile"
cat <<-UNIXUSER-PROFILE > "$UNIXUSER_PROFILE"
-# Add this here to be able to show spinner_loading while the scripts are loading
-spinner_loading_initial() {
- pid=$!
- spin='-\|/'
- i=0
- while kill -0 $pid 2>/dev/null
- do
- i=$(( (i+1) %4 ))
- printf "\r[${spin:$i:1}] Loading initial script..."
- sleep .1
- done
-}
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
@@ -50,7 +38,7 @@ if [ -d "$HOME/bin" ]
then
PATH="$HOME/bin:$PATH"
fi
-bash /var/scripts/instruction.sh & spinner_loading_initial
+bash /var/scripts/instruction.sh
bash /var/scripts/history.sh
sudo -i