forked from jmattheis/UnixAdminTool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin
More file actions
executable file
·38 lines (34 loc) · 989 Bytes
/
admin
File metadata and controls
executable file
·38 lines (34 loc) · 989 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
#!/bin/bash
MY_PATH="`dirname \"$0\"`"
while true; do
clear
echo
echo ' ___ __ _ __ __'
echo ' / | ____/ /___ ___ (_)___ / /_____ ____ / /'
echo ' / /| |/ __ / __ `__ \/ / __ \/ __/ __ \/ __ \/ / '
echo ' / ___ / /_/ / / / / / / / / / / /_/ /_/ / /_/ / / '
echo ' /_/ |_\__,_/_/ /_/ /_/_/_/ /_/\__/\____/\____/_/ '
echo
echo
echo
echo ' (1) Benutzerverwaltung'
echo ' (2) Berechtigungsverwaltung'
echo ' (3) Packageverwaltung'
echo ' (4) Backupverwaltung'
echo ' (5) Prozessverwaltung'
echo ' (6) Hardwareverwaltung'
echo ' (7) Cronjobverwaltung'
echo ' (x) exit'
echo
read -n 1 selection
case $selection in
1) $MY_PATH/usermgmt; ;;
2) $MY_PATH/permmgmt; ;;
3) $MY_PATH/packagemgmt; ;;
4) $MY_PATH/backupmgmt; ;;
5) $MY_PATH/processmgmt; ;;
6) $MY_PATH/hardwaremgmt; ;;
7) $MY_PATH/cronmgmt; ;;
"x") exit; ;;
esac
done