-
Notifications
You must be signed in to change notification settings - Fork 13
/
nodo_config.sh
executable file
·43 lines (38 loc) · 1.09 KB
/
nodo_config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
#MONERODO Nvidia mining settings
#Menu
while true
do
export running=$(service mos_nodowallet status)
export mos_service="mos_nodowallet"
clear
echo "================="
echo "Manage MiniNodo Settings"
echo "================="
cat /home/bob/.monerodo/status_nodowallet.txt
./service_status.sh
echo "================="
echo "[1] Setup the mininodo wallet server (must be done first)"
echo "[2] Turn on wallet server now and on boot"
echo "[3] Turn off wallet server"
echo "[4] Turn off wallet server and stop from starting on boot"
echo "[r] Return to device management menu"
echo ""
echo "Please access your MiniNodo wallet at https://$current_ip:3000"
echo -e "\n"
echo "The currently configured MiniNodo wallet is:"
cat /home/bob/.monerodo/nodowallet.info
echo -e "\n"
echo -e "Enter your selection or press enter to check status of wallet and server: \c"
echo ""
read answer
case "$answer" in
1) ./setup_mininodo_wallet.sh;;
2) ./service_on.sh;;
3) ./service_off.sh;;
4) ./service_off.sh
sudo rm /etc/init/mos_nodowallet.conf;;
r) exit ;;
esac
clear
done