I have been using this a couple of times and it always worked. But not after using this, the dashd won't show on my MN.
Do i have to adjust it somewhere?
Putty screenshot:
http://prntscr.com/6rwb8c
Do i have to adjust it somewhere?
Putty screenshot:
http://prntscr.com/6rwb8c
Code:
#!/bin/sh
echo "########### This script will update the Master Node"
sleep 5
VERSION=64
URL="https://www.dashpay.io/binaries/dash-0.11.2.22"
suffix="-linux.tar.gz"
URL="$URL$1$suffix"
FILE=${URL##*/}
DIR=${FILE%.tar.gz}
IP=$(hostname -I)
wget $URL
tar xzvf $FILE
echo "########### Stopping the Master Node"
./dashd stop
sleep 10
rm dashd
cp $DIR/bin/$VERSION/dashd .
chmod 755 dashd
rm $FILE
rm -rf $DIR
rm .dash/peers.dat
echo "########### Restarting the updated Master Node"
sleep 10
./dashd
sleep 10
./dashd getinfo
sleep 10
echo "########### Master Node status - Active: 1, Inactive: 0"