-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmainet_menu.sh
More file actions
38 lines (34 loc) · 1.15 KB
/
mainet_menu.sh
File metadata and controls
38 lines (34 loc) · 1.15 KB
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
#!/bin/bash
source <(curl -s https://raw.githubusercontent.com/UnityNodes/scripts/main/utils.sh)
function main_menu {
while true; do
anima
clear
logo
echo ""
printBlue "● Mainet Cosmos Network
│
│ ┌───┬──────────────────────────────────────┐
├─┤ 1 │ Nibiru │
│ ├───┼──────────────────────────────────────┤
└─┤ 0 │ Exit │
└───┴──────────────────────────────────────┘"
read -p "Make your choice and enter the item number: ► " choice
case "$choice" in
1)
bash <(curl -s https://raw.githubusercontent.com/UnityNodes/unityapp/main/nibiru/menu_nibiru.sh)
;;
0)
echo ""
echo "You have exited the menu."
break
;;
*)
echo
printRed "Incorrect choice. Try again..."
;;
esac
read -p "Press Enter to return main menu..."
done
}
main_menu