-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-menu.sh
124 lines (117 loc) · 1.22 KB
/
install-menu.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#!/bin/sh
#
# script by Snusel
menu () {
clear
echo ""
echo "1) Webmin Installieren oder Deinstallieren"
echo "2) "
echo "3) "
echo "4) "
echo "5) "
echo "6) "
echo "7) "
echo "8) "
echo "9) "
echo "10) "
echo "11) "
echo "12) "
echo "13) "
echo "14) "
echo "15) "
echo "16) "
echo "17) "
echo "18) "
echo "19) "
echo "20) "
echo "21) "
echo ""
echo "0) quit"
echo ""
echo -n "Enter a digit: "
}
menu
while read MOMO
clear
do
if [ "$MOMO" == "0" ]
then
exit 0
fi
case "$MOMO" in
1)
wget https://github.com/Snusel/koli/blob/koli/skripte/webmin-menu.sh
chmod 0755 webmin-menu.sh
./webmin-menu.sh
rm webmin-menu.sh
exit 0
;;
2)
exit 0
;;
3)
exit 0
;;
4)
exit 0
;;
5)
exit 0
;;
6)
exit 0
;;
7)
exit 0
;;
8)
exit 0
;;
9)
exit 0
;;
10)
exit 0
;;
11)
exit 0
;;
12)
exit 0
;;
13)
exit 0
;;
14)
exit 0
;;
15)
exit 0
;;
16)
exit 0
;;
17)
exit 0
;;
18)
exit 0
;;
19)
exit 0
;;
20)
exit 0
;;
21)
exit 0
;;
0)
exit 0
;;
*)
menu
;;
esac
done
exit 0