|
@@ -46,15 +46,15 @@ echo -n ""
|
|
|
}
|
|
|
|
|
|
function update_two {
|
|
|
-if [ $Mode = "NVIDIAGTX" ] || [ $Mode = "NVIDIARTX" ]
|
|
|
+if [ $Mode = "NVIDIAGTX" ]
|
|
|
then
|
|
|
sudo apt install nvidia-cuda-toolkit nvidia-cuda-dev nvidia-driver-470 -y
|
|
|
+fi
|
|
|
+if [ $Mode = "NVIDIARTX" ]
|
|
|
+then
|
|
|
+sudo apt install nvidia-cuda-toolkit nvidia-cuda-dev nvidia-driver-510 -y
|
|
|
touch ~/.rtx
|
|
|
fi
|
|
|
-#if [ $Mode = "NVIDIARTX" ]
|
|
|
-#then
|
|
|
-#sudo apt install nvidia-cuda-toolkit nvidia-cuda-dev nvidia-driver-510 -y
|
|
|
-#fi
|
|
|
if [ $Mode = "AMD" ]
|
|
|
then
|
|
|
cd /home/wareck
|
|
@@ -75,6 +75,7 @@ sudo apt install samba cifs-utils mdadm git build-essential libtool pkg-config a
|
|
|
sudo apt install gcc-8 g++-8 mesa-utils libmicrohttpd-dev libcurl4-openssl-dev lvm2 llvm-dev gparted msr-tools nasm btrfs-progs -y
|
|
|
sudo apt install libssl-dev p7zip-full -y
|
|
|
sudo apt autoremove -y
|
|
|
+#sudo rm /var/cache/apt/archives/*.deb
|
|
|
}
|
|
|
|
|
|
function build_miner {
|
|
@@ -211,7 +212,8 @@ font='Monospace 9'
|
|
|
use-system-font=false
|
|
|
use-theme-colors=false
|
|
|
background-color='rgb(0,0,0)'
|
|
|
-background-transparency-percent=8
|
|
|
+background-transparency-percent=9
|
|
|
+use-theme-transparency=false
|
|
|
EOF
|
|
|
sed -i "s/XXX/$UUID/g" zap2
|
|
|
chmod +x zap
|
|
@@ -235,7 +237,7 @@ ExecStart=liquidctl --match "smart device" set sync speed 55
|
|
|
ExecStart=liquidctl --match "smart" set fan1 speed 90
|
|
|
ExecStart=liquidctl --match "smart" set fan2 speed 90
|
|
|
ExecStart=liquidctl --match "smart" set fan3 speed 90
|
|
|
-ExecStart=liquidctl --match "smart" set led color fixed f32a9e
|
|
|
+ExecStart=liquidctl --match "smart" set led color fixed 00AA00
|
|
|
|
|
|
[Install]
|
|
|
WantedBy=default.target
|