git.iko.soy/xmrig-autoinstall
on main help sign in
Update hiveos-xmrig-installer.sh
commitca9c4e9da3410f2577f311473b7f10e841e0b753 authorMooCat <43627985+leshacat@users.noreply.github.com> dateSun 18 Apr 2021, 18:30 (5 years ago) parent6bf5049
1 file changed+4−6
hiveos-xmrig-installer.sh+4−6
hiveos-xmrig-installer.sh+4−6
@@ -12,17 +12,15 @@ apt install -y dialog logrotate ntp ntpdate cpulimit ${APT_REQ_PKGS} ;
1212
1313echo "CREATING DIRECTORIES"
1414
15−cd /root/
16−
17−mkdir MINERS
18−cd MINERS
15+mkdir -p ${INSTALL_DIR}
16+cd ${INSTALL_DIR}
1917
2018echo "CLONING XMRIG"
2119
2220rm -rf xmrig
23−git clone ${GIT_SRC_URL}
21+git clone ${GIT_SRC_URL} ${DIR_NAME}
2422
25−cd xmrig
23+cd ${DIR_NAME}
2624
2725echo "CMAKE XMRIG"
2826