#! /bin/bash

IUSER=$1
echo ""
spin=('.   ' '..  ' '... ' '....')
cnt=0
for ((i=0; $i<=16; i+=1)) ; do
  ((cnt++))
  echo -n "ReadingData${spin[$((cnt % 4))]}"
  echo -n -e \\r
  sleep 0.2
done
echo -n "ReadConfig OK!"
echo -e "\n"

b=''
for ((i=0;$i<=100;i+=2))
do
        printf "Enabling Configuration:[%-50s]%d%%\r" $b $i
        sleep 0.1
        b=#$b
done
echo  -e "\n"
echo "Author : Whhsn."
echo "Author : Wangjie."
echo "Company: Simba Automation."
echo "Company: Simba Automation." >>/home/start.log
echo ""
sleep 1

echo "###########################################" >> /home/start.log
