Fixed Unraid LXC RID creation

This commit is contained in:
2023-02-05 15:24:03 +01:00
committed by GitHub
parent 3a5b5fd006
commit 580ee1e4bb

View File

@@ -187,7 +187,7 @@ else
# EarnApp Einrichtung #
#######################
EarnAPP)
wget -qO- https://brightdata.com/static/earnapp/install.sh >/tmp/earnapp.sh && echo "yes" | sudo bash /tmp/earnapp.sh
wget -qO- https://brightdata.com/static/earnapp/install.sh >/tmp/earnapp.sh
RandomID=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 32 ; echo '')
chmod +x /tmp/earnapp.sh
sed -i "s/RID=.*/RID=$RandomID/g"