-
Notifications
You must be signed in to change notification settings - Fork 0
/
openbox.sh
executable file
·69 lines (64 loc) · 1.01 KB
/
openbox.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
#!/bin/bash
#/data/data/com.termux/files/usr/bin/bash
# Banner
banner() {
echo 🧑💻 OpenBox v.0.1 🧑💻
echo "[1] 🐘 Apache/PHP"
echo "[2] 🐍 Python"
echo "[3] 🦀 Rust"
echo "[4] 🎨 Zsh/Oh-My-Zsh"
echo "[5] 🔍 Nmap"
}
# Mensaje de instalacion
mnsg() {
echo Iniciando proceso de instalación...
sleep 2
}
# Apache PHP
web() {
# echo 😵💫 No implementado...
pkg install php-apache -y
}
# zsh
ohZSH() {
mnsg
pkg install zsh -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sleep 1
chsh -s zsh
echo $SHELL
}
## Inicializa script
case $1 in
1)
mnsg
web
;;
2)
# Instalando python
mnsg
pkg install python -y
sleep 1
python -V
;;
3)
# Instalando rust
mnsg
pkg install rust
#rustc -V
#web
;;
4)
mnsg
ohZSH
;;
5)
# Instalando nmap
mnsg
pkg install nmap -y
nmap -V
;;
*)
banner
;;
esac