-
Notifications
You must be signed in to change notification settings - Fork 1
/
Script.sh
46 lines (46 loc) · 1.68 KB
/
Script.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
#! /usr/bin/env bash
# -*- coding: utf-8 -*-
dire='./Scripts'
clear
echo " *** Recopilacion de Scripts *** "
echo " SELECCIONA UN SCRIPT:"
echo " 1.-Salir del equipo (ShutdownApp.sh)"
echo " 2.-Salir del equipo mediante Sytemctl (SystemctlApp.sh)"
echo " 3.-Cerrar sesion (CerrarSesion.sh)[Alpha]"
echo " 4.-Daemon OpenSSH (OpenSSHDaemon.sh)"
echo " 5.-Daemon MiniDLNA (MiniDLNADaemon.sh)"
echo " 6.-Daemon TeamViewer (DaemonTeamViewer.sh)"
echo " 7.-\"Hackear\" Windows (HackConWin.sh)[Alpha]"
echo " 8.-Informacion de la IP (NetworkIP.sh)"
echo " 9.-Editar Espacio Temporal /tmp (EditTmp.sh)"
echo " 10.-Ver Todos Los Colores en la Terminal (ColorBash.sh)"
echo " 11.-Instalar paquetes de Atom (AtomPackageInstall.sh)"
echo ""
echo " 50.-Scripts sobre archivos y videos (VideoFile.sh)"
echo ""
#echo " X.-Instalar Latino (InstallLatino.sh)[NoDisponible]" TODO
#echo " X.-Instalar Manualmente desde AUR (AURInstall.sh)[NoDisponible]" TODO
echo " 100.-Cosas Relacionadas Con ArchLinux y ArchBased (ArchWay.sh)"
echo " 0.-Salir"
echo ""
read -p "OPCIÓN: " OPCION
case $OPCION in
0) exit;;
1) sh $dire/ShutdownApp.sh;;
2) sh $dire/SystemctlApp.sh;;
3) sh $dire/CerrarSesion.sh ;;
4) sh $dire/OpenSSHDaemon.sh ;;
5) sh $dire/MiniDLNADaemon.sh;;
6) sh $dire/DaemonTeamViewer.sh;;
7) sh $dire/HackConWin.sh;;
8) sh $dire/NetworkIP.sh;;
9) sh $dire/EditTmp.sh;;
10) sh $dire/ColorBash.sh;;
11) sh $dire/AtomPackageInstall.sh;;
50) sh $dire/VideoFile.sh;;
100) sh $dire/ArchWay.sh;;
*) echo "Error: Opcion no valida. Saliendo"; exit 1 ;;
:) echo "Error: Está faltando un argumento en alguna parte. Saliendo"; exit 1 ;;
?) echo "Error: Indicador no válido en alguna parte. Saliendo"; exit 1 ;;
esac
exit 0