Last active
November 9, 2018 18:19
-
-
Save fatihyildizhan/bcaee13913a97575e49ce26507c6c439 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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