Browse Source

update february (autorun)

wareck 3 years ago
parent
commit
adfafc1747
1 changed files with 2 additions and 5 deletions
  1. 2 5
      build_cube.sh

+ 2 - 5
build_cube.sh

@@ -218,12 +218,11 @@ if ! [ -d cgminer-gekko ]
 then
 git clone https://github.com/wareck/cgminer-gekko.git
 fi
-echo -e ""
 }
 
 function build_miners_ {
 cd /home/wareck/
-echo -e "$(tput setaf 10)Build Cgminer-gekko:$(tput sgr0)"
+echo -e "$(tput setaf 10)\nBuild Cgminer-gekko:$(tput sgr0)"
 if ! [ -d cgminer-gekko ]
 then
 git clone https://github.com/wareck/cgminer-gekko.git
@@ -419,8 +418,6 @@ sudo update-grub2
 fi
 sudo chown -R wareck:wareck /home/wareck/xmr*
 sudo chown -R wareck:wareck /home/wareck/cgminer*
-
-
 echo "Done."
 
 }
@@ -480,11 +477,11 @@ if [ -f /home/wareck/NVIDIA-Linux-x86_64-470.82.00.run ]; then rm /home/wareck/N
 if [ -f /home/wareck/.pass1 ]; then rm /home/wareck/.pass1 ;fi
 if [ -f /home/wareck/.pass2 ]; then rm /home/wareck/.pass2 ;fi
 rm /home/wareck/.config/autostart/install_os.desktop
+rm -r -f /home/wareck/.config/autostart
 echo "Done."
 }
 
 function autoroot_ {
-echo -e "$(tput setaf 10)\nInit install:$(tput sgr0)"
 if [ ! -d /home/wareck/.config/autostart ]
 then
 echo -e "$(tput setaf 10)\nInit install:$(tput sgr0)"