-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsamplesript
More file actions
43 lines (35 loc) · 889 Bytes
/
samplesript
File metadata and controls
43 lines (35 loc) · 889 Bytes
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
while true
do
# Logo
echo "========================================================================================================================"
curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash
echo "========================================================================================================================"
# Menu
PS3='Select an action: '
options=(
"Option 1"
"Option 2"
"Exit")
select opt in "${options[@]}"
do
case $opt in
"Option 1")
echo "============================================================"
echo ""
echo "============================================================"
break
;;
"Option 2")
echo "============================================================"
echo ""
echo "============================================================"
break
;;
"Exit")
exit
;;
*) echo "invalid option $REPLY";;
esac
done
done