Fixed Unraid LXC RID creation

This commit is contained in:
Pakobbix 2023-02-05 15:24:03 +01:00 committed by GitHub
parent 3a5b5fd006
commit 580ee1e4bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ else
# EarnApp Einrichtung # # EarnApp Einrichtung #
####################### #######################
EarnAPP) 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 '') RandomID=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 32 ; echo '')
chmod +x /tmp/earnapp.sh chmod +x /tmp/earnapp.sh
sed -i "s/RID=.*/RID=$RandomID/g" sed -i "s/RID=.*/RID=$RandomID/g"