Skip to content

Instantly share code, notes, and snippets.

@fatihyildizhan
Last active November 9, 2018 18:19
Show Gist options
  • Save fatihyildizhan/bcaee13913a97575e49ce26507c6c439 to your computer and use it in GitHub Desktop.
Save fatihyildizhan/bcaee13913a97575e49ce26507c6c439 to your computer and use it in GitHub Desktop.
current_date_time="`date "+%Y-%m-%d %H:%M:%S"`";
echo $current_date_time
ls -a
echo "step 1: cd .lotuscore/"
cd .lotuscore/
echo "step 2: nano lotus.conf"
nano lotus.conf
current_date_time="`date "+%Y-%m-%d %H:%M:%S"`";
echo $current_date_time
echo "after save conf"
sleep 2
echo "after sleep"
cd ..
cd RLN.V.1.0/src/
ls -a
./lotusd
for i in {11..1}
do
echo "Waiting! Remaining ${i}s";
sleep 1
done
./lotus-cli masternode start
./lotus-cli masternode status
for i in {2..1}
do
echo "Waiting! Remaining ${i}s";
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment