Next, enter the following command:
wget -qO /home/autostaking.sh https://raw.githubusercontent.com/toxi42/Cosmos-scripts/main/autostaking_stratos.sh
chmod +x /home/autostaking.sh
Change values:
mcedit /home/autostaking.sh
Finally we open a new screen:
screen -d -m -S autostake /home/autostaking.sh
screen -S autostake -X quit #if you need stop
After that, autostaking works!