• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Simple Masternode MENU for Linux (discontinued)

AjM

Well-known member
Foundation Member
AjM's Simple Commandline Masternode Menu For Linux.

NOTE: Current script is NOT 12.1 compatible !!!

------------------------------------------------------------------------------------------------------------------------

mnmenu127.png


------------------------------------------------------------------------------------------------------------------------

Requirements:

dashd
and dash-cli location must be in: /usr/bin/
.dash
directory must be in user home directory, check pic below.
menu script must be in user home directory, check pic below.

MNM_dir.png


------------------------------------------------------------------------------------------------------------------------

Install:
Copy
script below,
create / upload menu file to your user home directory,
and edit variables to match your server.
File need to be saved with in linux, chmod your menu file to 755.
Chmod also /usr/bin/dashd and /usr/bin/dash-cli to 755 if dash is installed already.

Note: If you do not have already dash installed,
this script can install it for you, put the menu script in the user home directory,
edit variables, save and chmod it, start menu and select 1 + enter.
When install is done, proceed with normal masternode setup procedure and configure your dash.conf.

------------------------------------------------------------------------------------------------------------------------

Usage:
To run menu, goto to your user home directory and type ./menu + enter.
Select function/character and press enter.
Just enter will exit menu. Processes exit is ctrl+c or Q.
Tested with Ubuntu Server v15.04.

Note:
Masternode update function (1) will delete following files:
/usr/bin/dashd
/usr/bin/dash-cli
~/.dash/budget.dat
~/.dash/fee_estimates.dat
~/.dash/mncache.dat
~/.dash/mnpayments.dat
~/.dash/peers.dat
~/.dash/wallet.dat (cold wallet, wallet.dat should be empty, no coins)
~/.dash/db.log
~/.dash/debug.log

------------------------------------------------------------------------------------------------------------------------

Script:
You are free to modify this script in anyway you want. Edit variables to match your server.
Code:
#!/bin/bash
# Masternode MENU v1.28 by AjM 3.6.2016
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

# USER VARIABLES
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
MNtitle="Masternode 1" #.......... Masternode title
MNbits="linux64" #................ VPS OS is linux64 or linux32
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

# MENU VARIABLES
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
MenuVer="v1.28 by AjM" #.......... Menu version
LatestDashVer="" #................ Latest dash.org version
DashVer=$(dash-cli -version | cut -d" " -f6 | cut -d"-" -f1) # Your Dash version
if [ $DashVer = "" ]; then
 DashVer="??"
fi
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

# Download dash.org/downloads page source -> parse latest version
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
wget -q -O temp.txt https://www.dash.org/downloads/
LatestDashVer=$(grep "Linux 64<" temp.txt > temp2.txt)
LatestDashVer=$(cut -d"-" -f3 temp2.txt)
rm temp.txt && rm temp2.txt
if [ "$LatestDashVer" = "" ]; then
 LatestDashVer="? Unknown"
fi
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

# UPD_MN: Masternode stop -> download -> update -> start -> getinfo
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
function upd_mn(){
if [ "$LatestDashVer" != "? Unknown" ]; then
 echo "Updating masternode" && echo ""
 echo "Your Version . . . . "$DashVer && echo "Latest Version . . . v"$LatestDashVer
 echo "" && echo "Are you sure? [y]=yes, else cancel"
 read ANSWER
 if [ "$ANSWER" = "y" ]; then
  echo "$LatestDashVer" >> temp.txt && sleep 1
  EXTR="dash-"$(cut -d"." -f1,2,3 temp.txt)
  DASH="dash-"$LatestDashVer-$MNbits.tar.gz
  dash-cli stop && sleep 3
  sudo rm /usr/bin/dashd && sudo rm /usr/bin/dash-cli
  rm ~/.dash/budget.dat && rm ~/.dash/fee_estimates.dat
  rm ~/.dash/mncache.dat && rm ~/.dash/mnpayments.dat
  rm ~/.dash/peers.dat && rm ~/.dash/wallet.dat
  rm ~/.dash/db.log && rm ~/.dash/debug.log
  wget https://www.dash.org/binaries/$DASH
  sleep 1 && tar -xvf $DASH && echo "" && sleep 1
  sudo mv $EXTR/bin/dashd /usr/bin/dashd
  sudo mv $EXTR/bin/dash-cli /usr/bin/dash-cli
  sudo chmod +x /usr/bin/dashd && sudo chmod +x /usr/bin/dash-cli
  rm -r $DASH* && rm -r $EXTR* && rm temp.txt && sleep 1
  echo "Update done" && start_mn
  DashVer=$(dash-cli -version | cut -d" " -f6 | cut -d"-" -f1)
  if [ $DashVer = "" ]; then
   DashVer="??"
  fi
 else
  echo "Update aborted"
 fi
else
 echo "Error: Latest version info unknown !"
 echo "Check your net connection, update aborted !"
fi
}
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

# START_MN: Masternode start -> wait 40 sec -> getinfo
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
function start_mn(){
if [ -z `pidof dashd` ]; then
 dashd
 echo "Wait...." && sleep 10
 echo "Wait..." && sleep 10
 echo "Wait.." && sleep 10
 echo "Wait." && sleep 10 && clear && echo ""
 echo "MN getinfo" && dash-cli getinfo
else
 echo "Dashd is already running"
fi    
}
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

# REBOOT_SERVER: Masternode stop -> VPS reboot
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
function reboot_server(){
echo "Reboot VPS server?" && echo "Are you sure? [y]=yes, else cancel"
read ANSWER
if [ "$ANSWER" = "y" ]; then
 dash-cli stop && sleep 3
 echo "Rebooting VPS" && sudo reboot
else
 echo "Reboot aborted"
fi    
}
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

# LINUX_UPDATE: Masternode stop -> Linux update (optional reboot) -> start
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
function linux_update(){
echo "Update your VPS OS?" && echo "Are you sure? [y]=yes, else cancel"
read ANSWER
if [ "$ANSWER" = "y" ]; then
 dash-cli stop && sleep 3
 sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove && sudo apt-get autoclean
 echo "---------------------------------------------------------------"
 echo "Update done, do you want reboot your VPS? [y]=yes, else no"
 read ANSWER
 if [ "$ANSWER" = "y" ]; then
  echo "Rebooting VPS" && sudo reboot
 else
  start_mn
 fi
else
 echo "OS update aborted"
fi    
}
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

# MENU
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
clear && echo ""
selection=
until [ "$selection" = "*" ]; do
  if [ -f ~/.dash/debug.log ]; then
   dbl_size=$(du -sh ~/.dash/debug.log | cut -f -1) # Debug.log size
  else
   dbl_size="??"
  fi
  if [ -z `pidof dashd` ]; then
   Dash_running="Stopped"
  else
   Dash_running="Running"
  fi
  echo -e "\e[90m----------------------------------\e[0m"
  echo -e "\e[36m "$MNtitle"\e[0m\e[90m - Menu $MenuVer\e[0m"
  echo -e "\e[90m----------------------------------\e[0m"
  if [ "$DashVer" != "v$LatestDashVer" ]; then
   echo -e "\e[90m "Your Version . . . . "\e[0m\e[31m"$DashVer"\e[0m"
  else
   echo -e "\e[90m "Your Version . . . . "\e[0m\e[32m"$DashVer"\e[0m"
  fi
  echo -e "\e[90m "Latest Version . . . v$LatestDashVer"\e[0m"
  echo -e "\e[90m----------------------------------\e[0m"
  echo -e "\e[90m Masternode Section\e[0m"
  echo -e "\e[90m----------------------------------\e[0m"
  echo -e "\e[36m 1\e[0m - Mn Update \e[0m"
  echo -e "\e[36m 2\e[0m - Mn Getinfo"
  echo -e "\e[36m 3\e[0m - Mn Status\e[0m\e[90m . . . . . $Dash_running\e[0m"
  echo -e "\e[36m 4\e[0m - Mn Stop"
  echo -e "\e[36m 5\e[0m - Mn Start"
  echo -e "\e[36m 6\e[0m - Mn Debug.log errors"
  echo -e "\e[36m 7\e[0m - Mn Purge debug.log\e[0m\e[90m . . $dbl_size\e[0m"
  echo -e "\e[90m----------------------------------\e[0m"
  echo -e "\e[90m Linux Section\e[0m"
  echo -e "\e[90m----------------------------------\e[0m"
  echo -e "\e[32m m\e[0m - Memory Status"
  echo -e "\e[32m d\e[0m - Disk Status"
  echo -e "\e[32m f\e[0m - Firewall Status"
  echo -e "\e[32m p\e[0m - Processes (Q - Exit)"
  echo -e "\e[33m u\e[0m - Linux Update"
  echo -e "\e[33m r\e[0m - Reboot VPS Server"
  echo -e "\e[90m----------------------------------\e[0m"
  echo -e "\e[90m Enter - Exit Menu  C - Clear\e[0m"
  echo -e "\e[90m----------------------------------\e[0m"
  echo -n " >> "
  read selection
  clear && echo ""
  case $selection in
  1 ) upd_mn ;;
  2 ) echo "MN getinfo" && dash-cli getinfo ;;
  3 ) echo "MN status" && dash-cli masternode status ;;
  4 ) dash-cli stop && sleep 3 && echo "Done" ;;
  5 ) start_mn ;;
  6 ) echo "Debug.log errors done" && grep -i -n error ./.dash/debug.log ;;
  7 ) truncate ./.dash/debug.log --size 0 && echo "Debug.log purge done" ;;
  m ) free -h ;;
  d ) df -h ;;
  f ) sudo ufw status verbose ;;
  p ) top ;;
  u ) linux_update ;;
  r ) reboot_server ;;
  c ) clear ;;
  * ) exit ;;
  esac
  echo ""
done
#¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤


Change log:

Code:
v1.28
FIXED: 'Your version' info did not refresh after masternode update.
FIXED: Masternode update few more bugs.

v1.27
CHANGED: Variable name 'MNno' to 'MNtitle'.
REMOVED: Obsolete funcs.
REMOVED: 'Extract' variable, obsolete because of auto update.
UPDATED: 'masternode update' func removed files.
ADDED: 'Start_mn' func.
ADDED: New menu command, c - clear, clear screen and refersh menu.
ADDED: To 'purge debug.log' row current debug.log filesize info.
Updated every time when menu selection is executed.
ADDED: 'MenuVer', 'DashVer' and 'LatestDashVer' variable.
ADDED: Menu version info to 'MNtitle' row.
ADDED: Dash version info, your current and latest dash.org auto version check.
Version check is done only one time, when menu is started.
If you have latest version, your version color is green, otherwise it is red.
UPDATED: 'masternode update' func, auto update, no manual version input anymore.
ADDED: To 'Mn status' row current dashd status info (Running/Stopped).
Updated every time when menu selection is executed.
UPDATED: Code tidy up.

v1.26
CHANGED: Removed unnecessary 'Sleep' commands.
CHANGED: Typo 'Mn clear debug.log' -> 'Mn purge debug.log'.
ADDED: Info text 'Debug.log purge done' to debug.log purge func.

v1.25
FIXED: Typo (func title) 'MN reboot' -> 'VPS reboot'.
ADDED: 'Masternode section' and 'Linux section' titles.
ADDED: Linux update function with MN stop first, ask reboot vps, if no dashd restarted.
ADDED: Reboot server function info text -> 'Rebooting VPS...'
CHANGED: Menu selection title 'Reboot server' -> 'Reboot VPS server'

v1.24
Added some colors and some design changes to the menu.
Moved 'Extract' variable to the top (extracted folder from tar.gz),
fix this when new major version is released or tar.gz extracted folder is changed.
Added to 'Linux update' command 'apt-get autoremove' and 'apt-get autoclean'.
Added new command 'Mn debug.log errors', print all debug.log errors.
Added new command 'Mn clear debug.log', clear debug.log, file not removed.

v1.23
Fixed official web address dashpay.io -> dash.org.

v1.22
Added server reboot function which have a user confirmation and proper dash mn stop.

v1.21
MN status changed to (dash-cli masternode status).
Removed MNip, its not needed any more, because of new MN status.


Tips: XnTtWsy4pRWXEG3dXHuvMiPjdeQpLS6ADk
 
Last edited:
Hey, that looks great and I will give this a try.

Thank you very much for sharing.
Thanks.

Edited as suggested by UdjinM6

v1.21
MN status changed to (dash-cli masternode status).
Removed MNip, its not needed any more, because of new MN status.
 
v1.22
Added server reboot function which have a user confirmation and proper dash mn stop.
 
I'm getting the following error when I go to run it (./menu):

bash: ./menu: /bin/bash^M: bad interpreter: No such file or directory
 
Thank you! That worked. But now when I go to do anything in the menu program, I get:

MN getinfo...
./menu: line 83: /usr/bin/dash-cli: Permission denied

=(
Try to set permissions:
sudo chmod +x /usr/bin/dashd
sudo chmod +x /usr/bin/dash-cli
 
You Are The Man !
Works Like a charm !!!!!
and even the Update button works as well !
Thank You !

BTW
when you press 9 - Proccesses you can quit with 'Q' as well !
Very good, and good to know that Q.

Edit: changed ctrl-c -> Q to (9 - Proccesses (ctrl-c - exit))
 
Last edited by a moderator:
I thought i going to share my simple commandline Masternode menu for Linux VPS.
Picture below shows what this menu can do, just type character and press enter.

Masternode menu:
MNM_main.png


------------------------------------------------------------------------------------------------------------------------

Requirements:
dashd
and dash-cli location must be in: /usr/bin/
.dash
directory must be in user home directory, check pic below.
menu script must be in user home directory, check pic below.

MNM_dir.png


------------------------------------------------------------------------------------------------------------------------

Install:
Open/copy script below, and edit variables to match your server.
Then create or upload file menu to your user home directory.
chmod your menu file to 755.

------------------------------------------------------------------------------------------------------------------------

Usage:
Goto to your user home directory and type ./menu + enter.
Select function/character and press enter.
Just enter will exit menu.
Processes exit is ctrl+c.

Note:
Masternode update function will delete following files:
/usr/bin/dashd
/usr/bin/dash-cli
~/.dash/peers.dat
~/.dash/mncache.dat
~/.dash/wallet.dat (cold wallet, so wallet.dat should be empty, no coins)
~/.dash/debug.log
~/.dash/fee_estimates.dat

------------------------------------------------------------------------------------------------------------------------

Check menu demo video here: http://ajm-inc.net/mn-menu/MN-Menu_Demo.html

Tips accepted: XnTtWsy4pRWXEG3dXHuvMiPjdeQpLS6ADk

------------------------------------------------------------------------------------------------------------------------

Script:
You are free to modify this script in anyway you want.
Remember edit variables to match your server.

v1.22
Added server reboot function which have a user confirmation and proper dash mn stop.

v1.21
MN status changed to (dash-cli masternode status).
Removed MNip, its not needed any more, because of new MN status.

Code:
#!/bin/bash
# Masternode MENU v1.22 by AjM 18.8.2015

#Variables
########################################################
MNno="MN 1"         # Masternode number (title)
MNbits="linux64"        # VPS is linux64 or linux32
########################################################

# MN update
################################################
function upd_mn(){
echo "Updating masternode..."
echo "Are you sure? [y]=yes, else cancel"
read ANSWER
if [ "$ANSWER" = "y" ]; then
sleep 1
echo "MN stop..."
sleep 1
dash-cli stop
sleep 5
sudo rm -r /usr/bin/dashd
sleep 1
sudo rm -r /usr/bin/dash-cli
sleep 1
rm ~/.dash/peers.dat
sleep 1
rm ~/.dash/mncache.dat
sleep 1
rm ~/.dash/wallet.dat
sleep 1
rm ~/.dash/debug.log
sleep 1
rm ~/.dash/fee_estimates.dat
sleep 1
echo "Type latest (dashpay.io) version, example: 0.12.0.45"
read VERSION
DASH=dash-$VERSION-$MNbits
EXTRACT=dash-0.12.0
wget https://www.dashpay.io/binaries/$DASH.tar.gz
sleep 2
tar -xvf $DASH.tar.gz
sleep 3
sudo mv $EXTRACT/bin/dashd /usr/bin/dashd
sleep 1
sudo mv $EXTRACT/bin/dash-cli /usr/bin/dash-cli
sleep 1
sudo chmod +x /usr/bin/dashd
sleep 1
sudo chmod +x /usr/bin/dash-cli
sleep 1
rm -r $DASH*
sleep 1
rm -r $EXTRACT*
sleep 1
echo ""
echo "Update done"
echo "MN start..."
sleep 1
dashd
echo "Wait...."
sleep 10
echo "Wait..."
sleep 10
echo "Wait.."
sleep 10
echo "Wait."
sleep 10
clear
echo ""
echo "MN getinfo..."
dash-cli getinfo
else
echo "Update aborted"
fi 
}

# MN getinfo
################################################
function gin_mn(){
echo "MN getinfo..."
sleep 1
dash-cli getinfo
}

# MN status
################################################
function chk_mn(){
echo "MN status..."
sleep 1
dash-cli masternode status
}

# MN restart
################################################
function run_mn(){
echo "MN stop..."
sleep 1
dash-cli stop
sleep 5
echo "MN start..."
dashd
echo "Wait...."
sleep 10
echo "Wait..."
sleep 10
echo "Wait.."
sleep 10
echo "Wait."
sleep 10
dash-cli getinfo
}

# MN reboot
################################################
function reboot_server(){
echo "Reboot server?"
echo "Are you sure? [y]=yes, else cancel"
read ANSWER2
if [ "$ANSWER2" = "y" ]; then
sleep 1
echo "MN stop..."
sleep 1
dash-cli stop
sleep 3
sudo reboot
else
echo "Reboot aborted"
fi
}


# Menu
################################################
clear
selection=
until [ "$selection" = "*" ]; do
  echo ""
  echo "================================="
  echo " "$MNno "- MENU"
  echo "================================="
  echo " 1 - MN update"
  echo " 2 - MN getinfo"
  echo " 3 - MN status"
  echo " 4 - MN restart"
  echo " 5 - MN stop"
  echo "---------------------------------"
  echo " 6 - Memory status"
  echo " 7 - Disk status"
  echo " 8 - Firewall status"
  echo " 9 - Processes (Q - exit)"
  echo "---------------------------------"
  echo " u - Linux update"
  echo " r - Reboot server"
  echo "---------------------------------"
  echo " Enter - Exit"
  echo "================================="
  echo -n " >> "
  read selection
  clear
  echo ""
  case $selection in
  1 ) upd_mn ;;
  2 ) gin_mn ;;
  3 ) chk_mn ;;
  4 ) run_mn ;;
  5 ) dash-cli stop ;;
  6 ) free -h ;;
  7 ) df -h ;;
  8 ) sudo ufw status verbose ;;
  9 ) top ;;
  u ) sudo apt-get update && sudo apt-get dist-upgrade ;;
  r ) reboot_server ;;
  * ) exit ;;
  esac
done
Hi AjM , is this a script for linux servers to update their masternodes? Can it be used now or is it still an on-going project? Sorry I'm linux-challenged... Just wondering if it's a script and if it has been added to the Help wiki section for folks who need it. Thanks :)
 
Hi AjM , is this a script for linux servers to update their masternodes? Can it be used now or is it still an on-going project? Sorry I'm linux-challenged... Just wondering if it's a script and if it has been added to the Help wiki section for folks who need it. Thanks :)
Its only to linux (script) as title says and there is many things it can do, check first pic, and its finished and working.

1-5 are for Dash MN (masternode), other commands are for linux.
 
Last edited by a moderator:
Back
Top